Skip to content

Commit

Permalink
fix: Corregeix les InfoCard
Browse files Browse the repository at this point in the history
  • Loading branch information
albertms10 committed Jun 25, 2020
1 parent 8b589ac commit f23c3af
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ResumAfegirSoci = ({ form, username, loadingUsername = false }) => {

return (
<Space direction="vertical">
<InfoCard title="Dades personals" disabled showArrow={false}>
<InfoCard title="Dades personals" disabled>
<Descriptions size="small">
<Descriptions.Item label="Nom">{`${data.nom} ${data.cognoms}`}</Descriptions.Item>
<Descriptions.Item label="Usuari">
Expand All @@ -23,7 +23,7 @@ const ResumAfegirSoci = ({ form, username, loadingUsername = false }) => {
{(data.experiencia_musical ||
data.estudis_musicals ||
data.data_alta) && (
<InfoCard title="Informació musical" disabled showArrow={false}>
<InfoCard title="Informació musical" disabled>
<Descriptions size="small">
{data.experiencia_musical && (
<Descriptions.Item label="Experiència musical" span={3}>
Expand All @@ -43,7 +43,7 @@ const ResumAfegirSoci = ({ form, username, loadingUsername = false }) => {
</Descriptions>
</InfoCard>
)}
<InfoCard title="Dades de contacte" disabled showArrow={false}>
<InfoCard title="Dades de contacte" disabled>
<Descriptions size="small">
<Descriptions.Item label="Adreça electrònica" span={2}>
{data.email}
Expand Down

0 comments on commit f23c3af

Please sign in to comment.