Fix estimation issues (#2256)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-08-23 16:39:21 +07:00
committed by GitHub
parent f1fad745bd
commit 43e6d19403
13 changed files with 112 additions and 23 deletions
@@ -29,6 +29,7 @@
export let options: FindOptions<Doc> | undefined = undefined
export let baseMenuClass: Ref<Class<Doc>> | undefined = undefined
export let config: (BuildModelKey | string)[]
export let showFilterBar = true
// If defined, will show a number of dummy items before real data will appear.
export let loadingProps: LoadingProps | undefined = undefined
@@ -53,8 +54,9 @@
mode: 'browser'
}}
/>
<FilterBar {_class} {query} on:change={(e) => (resultQuery = e.detail)} />
{#if showFilterBar}
<FilterBar {_class} {query} on:change={(e) => (resultQuery = e.detail)} />
{/if}
<Scroller tableFade>
<Table
bind:this={table}