Skip to content

Commit

Permalink
fix(admin): competence bloc summary page now handle blocs without cod…
Browse files Browse the repository at this point in the history
…e correctly
  • Loading branch information
agarbe committed Nov 18, 2024
1 parent 22a83a6 commit 46d60aa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ const PageContent = ({
>
<Accordion
className="flex-1"
label={`${bloc.code} - ${bloc.label}`}
label={
bloc.code ? `${bloc.code} - ${bloc.label}` : bloc.label
}
defaultExpanded
>
<ul data-test="competences-list">
Expand Down

0 comments on commit 46d60aa

Please sign in to comment.