Skip to content

Commit

Permalink
fix: toggle sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Nov 15, 2024
1 parent aef2157 commit d5ac320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ export const useSidebarStore = defineStore('sidebar', {
setActiveTab(id) {
set(this, 'activeTab', id ?? '')
if (id) {
this.hideSidebar()
} else {
this.showSidebar()
} else {
this.hideSidebar()
}
},
hideSidebar() {
Expand Down

0 comments on commit d5ac320

Please sign in to comment.