Skip to content

Commit

Permalink
fix: Do not show chevron for hidden elements
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Jan 21, 2025
1 parent d080e8b commit 437d09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/BlockLayers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<FeatherIcon
:name="isExpanded(element) ? 'chevron-down' : 'chevron-right'"
class="ml-[-18px] h-3 w-3 text-ink-gray-4"
v-if="element.children && element.children.length && !element.isRoot()"
v-if="element.children && element.children.length && !element.isRoot() && element.isVisible()"
@click.stop="toggleExpanded(element)" />
<FeatherIcon
:name="element.getIcon()"
Expand Down

0 comments on commit 437d09c

Please sign in to comment.