Merge pull request #7115 from aignatov-bio/ai-sci-10241-fix-unused-filter

Hide empty filters at tables [SCI-10241]
This commit is contained in:
aignatov-bio 2024-02-21 10:14:10 +01:00 committed by GitHub
commit 11ab9964f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@
<i v-else class="sn-icon sn-icon-close !m-2.5 !ml-auto right-0 cursor-pointer z-10"
@click="$emit('search:change', '')"></i>
</div>
<FilterDropdown :filters="filters" @applyFilters="applyFilters" />
<FilterDropdown v-if="filters.length" :filters="filters" @applyFilters="applyFilters" />
<button
v-if="currentViewRender === 'table'"
@click="showColumnsModal = true"