From 9d87641a732d2cb1c89dc5bb4d8f306e1c77c938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pete=20An=C3=B8ther?= Date: Wed, 7 Feb 2024 02:22:03 -0300 Subject: [PATCH] EZQMS-531: Prop to disable Save As and Save buttons in `FilterBar` (#4560) Signed-off-by: Petr Vyazovetskiy --- .../src/components/filter/FilterBar.svelte | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/plugins/view-resources/src/components/filter/FilterBar.svelte b/plugins/view-resources/src/components/filter/FilterBar.svelte index 8c32865f55..8f3b4420eb 100644 --- a/plugins/view-resources/src/components/filter/FilterBar.svelte +++ b/plugins/view-resources/src/components/filter/FilterBar.svelte @@ -31,6 +31,7 @@ export let space: Ref | undefined export let query: DocumentQuery export let viewOptions: ViewOptions | undefined = undefined + export let hideSaveButtons: boolean = false const client = getClient() const hierarchy = client.getHierarchy() @@ -190,26 +191,28 @@ -
-
+ {#if selectedFilterChanged($selectedFilterStore, $filterStore, $activeViewlet, $viewOptionStore)} +