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

Commit

Permalink
Hide div if query has no filters
Browse files Browse the repository at this point in the history
The filter div is hidden if the query does not contain any filters, making the search bar take up all the space
  • Loading branch information
heymerridew authored Sep 5, 2022
1 parent 17e9f72 commit e69a98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Components/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:class="{'opacity-75': isVisiting}"
>
<div class="flex flex-row flex-wrap sm:flex-nowrap justify-start px-4 sm:px-0">
<div class="order-2 sm:order-1 mr-2 sm:mr-4">
<div v-if="queryBuilderProps.hasFilters" class="order-2 sm:order-1 mr-2 sm:mr-4">
<slot
name="tableFilter"
:has-filters="queryBuilderProps.hasFilters"
Expand Down

0 comments on commit e69a98d

Please sign in to comment.