Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit e69a98d

Browse files
authored
Hide div if query has no filters
The filter div is hidden if the query does not contain any filters, making the search bar take up all the space
1 parent 17e9f72 commit e69a98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/Components/Table.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:class="{'opacity-75': isVisiting}"
99
>
1010
<div class="flex flex-row flex-wrap sm:flex-nowrap justify-start px-4 sm:px-0">
11-
<div class="order-2 sm:order-1 mr-2 sm:mr-4">
11+
<div v-if="queryBuilderProps.hasFilters" class="order-2 sm:order-1 mr-2 sm:mr-4">
1212
<slot
1313
name="tableFilter"
1414
:has-filters="queryBuilderProps.hasFilters"

0 commit comments

Comments
 (0)