Skip to content

Commit

Permalink
hotfix: force enable sidebar with no header (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
RohinBhargava authored Sep 19, 2024
1 parent bc22525 commit df9ad10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/app/src/atoms/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export const FORCE_ENABLE_SIDEBAR_ATOM = atom((get) => {

// sidebar is always enabled if the header is disabled
if (layout?.disableHeader) {
return false;
return true;
}

// sidebar is always enabled if vertical tabs are enabled
Expand Down

0 comments on commit df9ad10

Please sign in to comment.