File tree 2 files changed +2
-2
lines changed
routes/partidos-y-candidaturas/candidates/candidate
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 25
25
{candidate .name }
26
26
</p >
27
27
<p class =" is-size-6 has-text-weight-light pb-4" >
28
- {#if candidate .cargo === ' presidente' }
28
+ {#if candidate .cargo . includes ( ' presidente' ) }
29
29
Candidat{candidate .genre === ' m' ? ' o' : ' a' } a
30
30
<br />
31
31
<span class ="general-sans is-size-6 has-text-weight-light" >{cargosSlugs [candidate .cargo ][candidate .genre ]}</span >
Original file line number Diff line number Diff line change 26
26
<div class =" is-flex is-flex-direction-column is-justify-content-space-between element-group" >
27
27
<p class =" has-text-weight-bold is-size-4" >{candidate .name }</p >
28
28
<p class ="has-text-weight-light" >Candidat{candidate .genre === ' m' ? ' o' : ' a' } a {cargosSlugs [candidate .cargo ][candidate .genre ]}</p >
29
- {#if ProvinciasSlugs .find (p => p .slug === candidate .distrito_nacional .slug ) && candidate .cargo !== ' presidente' }
29
+ {#if ProvinciasSlugs .find (p => p .slug === candidate .distrito_nacional .slug ) && ! candidate .cargo . includes ( ' presidente' ) }
30
30
<br >
31
31
<p class =" has-text-weight-bold is-size-4 is-size-6-touch" >Asume como {cargosSlugs [candidate .cargo ][candidate .genre ]} de</p >
32
32
<p class ="has-text-weight-light" >{ProvinciasSlugs .find (p => p .slug === candidate .distrito_nacional .slug ).name }</p >
You can’t perform that action at this time.
0 commit comments