feat(frontend): Fix workspace switch + always displays confirmation modal on top of splitpanel separator (#2115)

This commit is contained in:
Faton Ramadani
2023-08-17 23:26:06 +02:00
committed by GitHub
parent 9bc4e9ae43
commit eea9ce93b9
2 changed files with 3 additions and 3 deletions
@@ -38,7 +38,7 @@
{#if open}
<div
transition:fadeFast|local
class={'absolute top-0 bottom-0 left-0 right-0 z-50'}
class={'absolute top-0 bottom-0 left-0 right-0 z-[5000]'}
role="dialog"
>
<div
@@ -42,9 +42,9 @@
} else {
await goto('/')
const shouldSwitch = await waitForNextUpdate(dirtyStore)
const isStillDirty = await waitForNextUpdate(dirtyStore)
if (shouldSwitch) {
if (!isStillDirty) {
switchWorkspace(id)
}
}