Display no available filter

This commit is contained in:
Adria Navarro 2024-04-11 10:19:07 +02:00
parent 031dda3c14
commit 63dd0b5d65
1 changed files with 119 additions and 113 deletions

View File

@ -207,6 +207,7 @@
<DrawerContent>
<div class="container">
<Layout noPadding>
{#if fieldOptions?.length}
{#if !rawFilters?.length}
<Body size="S">Add your first filter expression.</Body>
{:else}
@ -331,6 +332,11 @@
Add filter
</Button>
</div>
{:else}
<Body size="S">
None of the table column can be used for filtering.
</Body>
{/if}
</Layout>
</div>
</DrawerContent>