Skip to content

Commit

Permalink
Render AX if helpers if siblingsCount
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaaisa committed Jul 30, 2024
1 parent f779c80 commit 9634f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navigator/NavigatorCardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:class="{ expanded, active: isActive, 'is-group': isGroupMarker }"
:style="{ '--nesting-index': item.depth }"
:data-nesting-index="item.depth"
:id="`container-${item.uid}`"
:id="item.uid ? `container-${item.uid}` : null"
:aria-hidden="isRendered ? null : 'true'"
:hideNavigatorIcon="isGroupMarker"
@keydown.left.native.prevent="handleLeftKeydown"
Expand Down Expand Up @@ -75,7 +75,7 @@
}
) }}</span>
<span
v-if="!isParent"
v-else-if="item.siblingsCount"
:id="siblingsLabel"
hidden
>
Expand Down

0 comments on commit 9634f41

Please sign in to comment.