From 809a654cabcb4b36797ea91d3edbfc1b265424b1 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Thu, 2 Dec 2021 12:05:09 +0300 Subject: [PATCH] Show/hide navigator (#477) Signed-off-by: Alexander Platov --- .../src/components/ActivityStatus.svelte | 2 +- .../workbench-resources/src/components/AppItem.svelte | 3 ++- .../src/components/Workbench.svelte | 11 +++++++++-- .../src/components/icons/TopMenu.svelte | 9 +++++++++ 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 plugins/workbench-resources/src/components/icons/TopMenu.svelte diff --git a/plugins/workbench-resources/src/components/ActivityStatus.svelte b/plugins/workbench-resources/src/components/ActivityStatus.svelte index b4a8a4eb30..447460d967 100644 --- a/plugins/workbench-resources/src/components/ActivityStatus.svelte +++ b/plugins/workbench-resources/src/components/ActivityStatus.svelte @@ -18,7 +18,7 @@ export let status: string = 'away' -
+
diff --git a/plugins/workbench-resources/src/components/AppItem.svelte b/plugins/workbench-resources/src/components/AppItem.svelte index 302a962c73..eac8120340 100644 --- a/plugins/workbench-resources/src/components/AppItem.svelte +++ b/plugins/workbench-resources/src/components/AppItem.svelte @@ -15,10 +15,11 @@ {#if client} @@ -88,7 +92,10 @@
- +
+ + { visibileNav = !visibileNav }}/> +
{ showPopup(AccountPopup, { }, 'account') }}> @@ -96,7 +103,7 @@
- {#if navigator} + {#if navigator && visibileNav}
{#if currentApplication} {}} /> diff --git a/plugins/workbench-resources/src/components/icons/TopMenu.svelte b/plugins/workbench-resources/src/components/icons/TopMenu.svelte new file mode 100644 index 0000000000..a9c2f4291a --- /dev/null +++ b/plugins/workbench-resources/src/components/icons/TopMenu.svelte @@ -0,0 +1,9 @@ + + + + + +