Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienSvstr committed Feb 25, 2025
1 parent 6894d93 commit c99cbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/views/menu/MenuPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ const menuMode = ref<MenuMode>(MenuMode.Sidebar);
function onSidebarWidthChanged(value: number): void {
sidebarWidth.value = value;
setToastOffset(value);
console.log(value);
}

async function updateWindowWidth(): Promise<void> {
if (window.innerWidth <= 768) {
setToastOffset(0);
menuMode.value = MenuMode.Tabs;
} else {
setToastOffset(sidebarWidth.value);
menuMode.value = MenuMode.Sidebar;
}
}
Expand Down

0 comments on commit c99cbb9

Please sign in to comment.