fix: Affiche le titre de la règle si aucun label n'est fourni dans SimulationGoal

pull/3146/head
Alice Dahan 2024-09-03 10:43:20 +02:00 committed by liliced
parent 8e90fc14c4
commit 53974832eb
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ export function SimulationGoal({
id={`${dottedName.replace(/\s|\./g, '_')}-label`}
dottedName={dottedName}
>
{label}
{label || rule.title}
</RuleLink>
)}