Skip to content

Commit

Permalink
small addons
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Feb 6, 2025
1 parent 2f65375 commit eaeb846
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/pages/admin/sirene.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ function SireneUpdateList() {
<hr />
<Select
label="Filtrer par type de modification"
options={[{ value: '', label: 'Tous les types' }, ...Object.entries(FIELD_DISPLAY_NAMES).map(([value, label]) => ({ value, label }))]}
options={[
{ value: '', label: 'Tous les types' },
...Object.entries(FIELD_DISPLAY_NAMES)
.map(([value, label]) => ({ value, label })),
]}
selected={fieldFilter}
onChange={(e) => setFieldFilter(e.target.value)}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ export function EtatAdministratifUpdate({ update, paysageData, reload }) {
</i>
<br />
<span className="fr-text--bold">{sireneValue}</span>
<br />
<i>{update.changeEffectiveDate}</i>
</p>
<p style={{ flex: '0 1 100%' }}>
<i className="fr-text--sm">
Valeur paysage actuelle:
{' '}
</i>
<br />
<span className="fr-text--bold">{paysageValue || 'Non renseigné'}</span>
<br />
<i>{paysageData.closureDate && `Fermeture: ${paysageData.closureDate}`}</i>
</p>
</div>
{(update.status === 'pending') && (
Expand Down

0 comments on commit eaeb846

Please sign in to comment.