mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 00:01:49 +00:00
feat(frontend): Fix workspace switch + always displays confirmation modal on top of splitpanel separator (#2115)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user