1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

chore: fixes bugs with auto switching of menu

This commit is contained in:
Amir Raminfar
2024-06-21 12:04:22 -07:00
parent ae960bac05
commit 3d19870b36
4 changed files with 13 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ const showSwarm = useSessionStorage<boolean>("DOZZLE_SWARM_MODE", false);
onBeforeRouteLeave((to) => {
if (to.meta.swarmMode) {
showSwarm.value = true;
} else {
} else if (to.meta.containerMode) {
showSwarm.value = false;
}
});