Fixed #3959 - DataTable filters bug: icon doesn't appear

pull/3970/head
Tuğçe Küçükoğlu 2023-05-16 10:13:22 +03:00
parent 8c480b0c3c
commit bd7e602fd8
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
>
<component :is="filterIconTemplate || 'FilterIcon'" />
</button>
<button v-if="showClearButton && display === 'row'" :class="{ 'p-hidden-space': !hasRowFilter() }" type="button" class="p-column-filter-clear-button p-link" @click="clearFilter()" v-bind="getColumnPTOptions('headerFilterClearButton')">
<button v-if="showClearButton && display === 'row'" :class="['p-column-filter-clear-button p-link', { 'p-hidden-space': !hasRowFilter() }]" type="button" @click="clearFilter()" v-bind="getColumnPTOptions('headerFilterClearButton')">
<component :is="filterClearIconTemplate || 'FilterSlashIcon'" v-bind="getColumnPTOptions('filterClearIcon')" />
</button>
<Portal>