From 3034b2d5a8e79fcbc5753a2b27c52fc225d4b370 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 18 Oct 2026 23:41:36 +1100 Subject: [PATCH] fix(ui): open draft change review only when there are changes --- ui/src/settings/SettingsSaveBar.vue | 2 +- ui/src/workflows/WorkflowEditor.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/settings/SettingsSaveBar.vue b/ui/src/settings/SettingsSaveBar.vue index c08bd562a..01f971396 100644 --- a/ui/src/settings/SettingsSaveBar.vue +++ b/ui/src/settings/SettingsSaveBar.vue @@ -108,7 +108,7 @@ async function save() { - + Review {{ count }} {{ count === 1 ? "change" : "changes" }} diff --git a/ui/src/workflows/WorkflowEditor.vue b/ui/src/workflows/WorkflowEditor.vue index 8c624c17d..33963e271 100644 --- a/ui/src/workflows/WorkflowEditor.vue +++ b/ui/src/workflows/WorkflowEditor.vue @@ -432,7 +432,7 @@ function syncScroll(event: Event): void { Open run Version {{ watchedRevision.version }} {{ dirty ? "Test" : "Run" }} - Draft changes {{ changes.length }} + Draft changes {{ changes.length }} Restore Delete workflow @@ -577,7 +577,7 @@ function syncScroll(event: Event): void { - + Draft changes