chg: [genericElement:index] Highlight filtering button if filters are present
parent
33c83f4020
commit
fc0f12e38e
|
@ -30,6 +30,7 @@
|
||||||
}
|
}
|
||||||
$buttonConfig = [
|
$buttonConfig = [
|
||||||
'icon' => 'filter',
|
'icon' => 'filter',
|
||||||
|
'variant' => $numberActiveFilters > 0 ? 'warning' : 'primary',
|
||||||
'params' => [
|
'params' => [
|
||||||
'title' => __('Filter index'),
|
'title' => __('Filter index'),
|
||||||
'id' => sprintf('toggleFilterButton-%s', h($tableRandomValue))
|
'id' => sprintf('toggleFilterButton-%s', h($tableRandomValue))
|
||||||
|
|
Loading…
Reference in New Issue