From fc712cf2e5a60d2ee2c5ddf8658412e00a99fe13 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 22 Oct 2025 18:03:09 +0000 Subject: [PATCH] fix: compute dependencies of apps in deploy to UI --- .../src/lib/components/DeployWorkspace.svelte | 96 +++++++++++++------ frontend/src/lib/components/Toggle.svelte | 1 - 2 files changed, 67 insertions(+), 30 deletions(-) diff --git a/frontend/src/lib/components/DeployWorkspace.svelte b/frontend/src/lib/components/DeployWorkspace.svelte index 9636f78921..d56a9819e1 100644 --- a/frontend/src/lib/components/DeployWorkspace.svelte +++ b/frontend/src/lib/components/DeployWorkspace.svelte @@ -1,5 +1,5 @@
@@ -611,13 +640,22 @@
- {#each dependencies ?? [] as { kind, path, include }} + {#each dependencies ?? [] as { kind, path, include }, i} {@const statusPath = computeStatusPath(kind, path)}
{kind}
{path}
+ >
+ { + if (dependencies?.[i]) { + dependencies[i].include = e.detail + } + }} + /> +
+
{#if allAlreadyExists[statusPath] == false} {#if include} { + onclick={() => { showDiff(kind, path) }}>diff diff --git a/frontend/src/lib/components/Toggle.svelte b/frontend/src/lib/components/Toggle.svelte index b33b3785ed..1189980cf3 100644 --- a/frontend/src/lib/components/Toggle.svelte +++ b/frontend/src/lib/components/Toggle.svelte @@ -1,4 +1,3 @@ -