mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: remove local-only step ids from workflow json (#29188)
This commit is contained in:
parent
48861b085e
commit
40cffcd414
1 changed files with 7 additions and 1 deletions
|
|
@ -73,7 +73,13 @@
|
|||
let dragSourceId: string | undefined;
|
||||
|
||||
const workflowSummary = $derived({ name, description, trigger, steps });
|
||||
const workflowJsonContent = $derived<WorkflowJsonContent>({ name, description, enabled, trigger, steps });
|
||||
const workflowJsonContent = $derived<WorkflowJsonContent>({
|
||||
name,
|
||||
description,
|
||||
enabled,
|
||||
trigger,
|
||||
steps: steps.map(({ id: _, ...step }) => step),
|
||||
});
|
||||
|
||||
const hasChanges = $derived(
|
||||
enabled !== savedWorkflow.enabled ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue