windmill-components 1.305.2 → 1.305.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,6 @@ import { snakeCase } from 'lodash';
|
|
|
29
29
|
import FlowBuilderTutorials from './FlowBuilderTutorials.svelte';
|
|
30
30
|
import FlowTutorials from './FlowTutorials.svelte';
|
|
31
31
|
import { ignoredTutorials } from './tutorials/ignoredTutorials';
|
|
32
|
-
import UnsavedConfirmationModal from './common/confirmationModal/UnsavedConfirmationModal.svelte';
|
|
33
32
|
import { cloneDeep } from 'lodash';
|
|
34
33
|
export let initialPath = '';
|
|
35
34
|
export let pathStoreInit = undefined;
|
|
@@ -816,14 +815,7 @@ export function triggerTutorial() {
|
|
|
816
815
|
|
|
817
816
|
<svelte:window on:keydown={onKeyDown} />
|
|
818
817
|
|
|
819
|
-
<
|
|
820
|
-
{diffDrawer}
|
|
821
|
-
savedValue={savedFlow}
|
|
822
|
-
modifiedValue={{
|
|
823
|
-
...$flowStore,
|
|
824
|
-
path: $pathStore
|
|
825
|
-
}}
|
|
826
|
-
/>
|
|
818
|
+
<slot />
|
|
827
819
|
|
|
828
820
|
{#key renderCount}
|
|
829
821
|
{#if !$userStore?.operator}
|
|
@@ -53,7 +53,7 @@ beforeNavigate(async (newNavigationState) => {
|
|
|
53
53
|
>
|
|
54
54
|
<div class="flex flex-col w-full space-y-4">
|
|
55
55
|
<span>Are you sure you want to discard the changes you have made? </span>
|
|
56
|
-
{#if savedValue && modifiedValue}
|
|
56
|
+
{#if savedValue && modifiedValue && diffDrawer}
|
|
57
57
|
<Button
|
|
58
58
|
wrapperClasses="self-start"
|
|
59
59
|
color="light"
|