windmill-components 1.504.4 → 1.504.5
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.
|
@@ -784,9 +784,9 @@ const flowHasChanged = $derived(flowPreviewContent?.flowHasChanged());
|
|
|
784
784
|
redoProps={{ disabled: $history.index === $history.history.length - 1 }}
|
|
785
785
|
on:undo={() => {
|
|
786
786
|
const currentModules = flowStore.val?.value?.modules
|
|
787
|
-
|
|
787
|
+
console.log('undo before', flowStore.val, JSON.stringify(flowStore.val, null, 2))
|
|
788
788
|
flowStore.val = undo(history, flowStore.val)
|
|
789
|
-
|
|
789
|
+
console.log('undo after', flowStore.val, JSON.stringify(flowStore.val, null, 2))
|
|
790
790
|
|
|
791
791
|
const newModules = flowStore.val?.value?.modules
|
|
792
792
|
const restoredModules = newModules?.filter(
|