Skip to content

Commit 54c4485

Browse files
committed
fix: fix conditional bug
1 parent 9351ee9 commit 54c4485

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/partials/sidebar/section.edge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@let(isRoot = section.title.toLowerCase() !== 'root')
1+
@let(isRoot = section.title.toLowerCase() === 'root')
22
@if(collapsible && !isRoot)
33
<li
44
class="sidebar_section{{ section.isActive ? ' expanded' : '' }}"

0 commit comments

Comments
 (0)