Skip to content

Commit

Permalink
bump v0.0.32
Browse files Browse the repository at this point in the history
suggester renderOption if !label then display id
  • Loading branch information
isMattCoding authored Sep 6, 2023
2 parents 5a4bdce + 64e3fdb commit ecda139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inseefr/lunatic-dsfr",
"version": "0.0.31",
"version": "0.0.32",
"description": "Couche graphique pour Lunatic reposant sur le Système de Design de l'État (DSFR)",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/Suggester/RenderOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function RenderOption(props: HTMLAttributes<HTMLLIElement>, option: Refer
const { id, label } = option;
return (
<li {...props} key={id}>
{label}
{label ?? id}
</li>
);
}

0 comments on commit ecda139

Please sign in to comment.