From b023d65fcfbb21eba0a4641a849992a8adebb994 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 4 Apr 2022 13:49:26 +0200 Subject: [PATCH 1/3] fix: Secrets build/runtime coudl be changed after save --- .../[id]/secrets/_BatchSecrets.svelte | 6 +-- .../applications/[id]/secrets/_Secret.svelte | 35 +++++++++++---- .../applications/[id]/secrets/index.svelte | 45 +++++++++++++++++-- src/routes/applications/[id]/secrets/utils.ts | 6 +-- 4 files changed, 72 insertions(+), 20 deletions(-) diff --git a/src/routes/applications/[id]/secrets/_BatchSecrets.svelte b/src/routes/applications/[id]/secrets/_BatchSecrets.svelte index 38af130c9..8d0a65aee 100644 --- a/src/routes/applications/[id]/secrets/_BatchSecrets.svelte +++ b/src/routes/applications/[id]/secrets/_BatchSecrets.svelte @@ -30,7 +30,7 @@ await Promise.all( batchSecretsPairs.map(({ name, value, isNew }) => - limit(() => saveSecret({ name, value, applicationId: id, isNew, dispatch })) + limit(() => saveSecret({ name, value, applicationId: id, isNew })) ) ); batchSecrets = ''; @@ -39,8 +39,8 @@

Paste .env file

-
-