mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-15 12:55:59 +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 space: Ref<Space> | undefined
|
||||||
export let query: DocumentQuery<Doc>
|
export let query: DocumentQuery<Doc>
|
||||||
export let viewOptions: ViewOptions | undefined = undefined
|
export let viewOptions: ViewOptions | undefined = undefined
|
||||||
|
export let hideSaveButtons: boolean = false
|
||||||
|
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
const hierarchy = client.getHierarchy()
|
const hierarchy = client.getHierarchy()
|
||||||
@ -190,6 +191,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{#if !hideSaveButtons}
|
||||||
<div class="flex gap-1-5">
|
<div class="flex gap-1-5">
|
||||||
<Button
|
<Button
|
||||||
icon={view.icon.Views}
|
icon={view.icon.Views}
|
||||||
@ -210,6 +212,7 @@
|
|||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user