mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
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:
parent
7510879147
commit
9d87641a73
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user