mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: workflow page reactivity issues (#28996)
This commit is contained in:
parent
aa6af7ce36
commit
e81b6778ca
2 changed files with 3 additions and 3 deletions
|
|
@ -63,9 +63,9 @@
|
|||
|
||||
let { data }: Props = $props();
|
||||
|
||||
let { id, enabled, name, description, trigger } = $derived(data.workflow);
|
||||
let { id, enabled, name, description, trigger } = $state(data.workflow);
|
||||
let steps = $state(data.workflow.steps.map((step) => ({ ...step, id: generateId() })));
|
||||
let savedWorkflow = $state(cloneDeep(data.workflow));
|
||||
let savedWorkflow = $derived(cloneDeep(data.workflow));
|
||||
let allowNavigation = $state(false);
|
||||
let isShowingNavigationDialog = $state(false);
|
||||
let isSaving = $state(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue