From 51952ee0f443d104359cade62ea7f3fceba13e9c Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 12 May 2022 09:24:19 +0100 Subject: [PATCH] Removed unused variables, hid the automation/backups tabs and removed the disable flag from the app version settings menu --- .../overview/[application]/index.svelte | 14 ++-- .../overview/_components/OverviewTab.svelte | 68 ++++++++++--------- .../overview/_components/SettingsTab.svelte | 9 +-- 3 files changed, 44 insertions(+), 47 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte b/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte index 3dfc761a43..703df5ccb6 100644 --- a/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte +++ b/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte @@ -209,12 +209,14 @@ navigateTab={handleTabChange} /> - -
Automation History contents
-
- -
Backups contents
-
+ {#if false} + +
Automation History contents
+
+ +
Backups contents
+
+ {/if} diff --git a/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte b/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte index 3ac8dcd728..37bf3f81b9 100644 --- a/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte +++ b/packages/builder/src/pages/builder/portal/overview/_components/OverviewTab.svelte @@ -128,43 +128,45 @@ -
- { - navigateTab("Automation History") - }} - dataCy={"automation-history"} - > -
-
-
- 0 -
- - Success + {#if false} +
+ { + navigateTab("Automation History") + }} + dataCy={"automation-history"} + > +
+
+
+ 0 +
+ + Success +
-
-
- 0 -
- - Error +
+ 0 +
+ + Error +
-
-
- { - navigateTab("Backups") - }} - dataCy={"backups"} - > -
test
-
-
+ + { + navigateTab("Backups") + }} + dataCy={"backups"} + > +
test
+
+
+ {/if}