Fix wrong check when selected a name that has a duplicate

This commit is contained in:
Adria Navarro 2025-01-21 14:18:33 +01:00
parent e62184de7f
commit bc2a827dd7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
{#each dataSet as data}
<li
class="spectrum-Menu-item"
class:is-selected={value?.label === data.label &&
class:is-selected={value?.resourceId === data.resourceId &&
value?.type === data.type}
role="option"
aria-selected="true"