From 82edd0e3d9a3cbe25af5a142f3266675ed0bdaf1 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 19 Oct 2024 02:53:50 -0700 Subject: [PATCH] refac: hide pipelines save button if not present --- .../components/admin/Settings/Pipelines.svelte | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/lib/components/admin/Settings/Pipelines.svelte b/src/lib/components/admin/Settings/Pipelines.svelte index 15a46f34a..c6fb9f204 100644 --- a/src/lib/components/admin/Settings/Pipelines.svelte +++ b/src/lib/components/admin/Settings/Pipelines.svelte @@ -546,12 +546,14 @@ {/if} -
- -
+ {#if PIPELINES_LIST !== null && PIPELINES_LIST.length > 0} +
+ +
+ {/if}