EZQMS-531: Prop to disable Save As and Save buttons in FilterBar (#4560)

Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
This commit is contained in:
Pete Anøther 2024-02-07 02:22:03 -03:00 committed by GitHub
parent 7510879147
commit 9d87641a73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,7 @@
export let space: Ref<Space> | undefined
export let query: DocumentQuery<Doc>
export let viewOptions: ViewOptions | undefined = undefined
export let hideSaveButtons: boolean = false
const client = getClient()
const hierarchy = client.getHierarchy()
@ -190,6 +191,7 @@
</div>
</div>
{#if !hideSaveButtons}
<div class="flex gap-1-5">
<Button
icon={view.icon.Views}
@ -210,6 +212,7 @@
/>
{/if}
</div>
{/if}
</div>
{/if}