How to get the filters currently in use on a rendered table.
I'm trying to conditionally make actions visible based on the currently active filter on my table. This is in a livewire component with a filament table.
I can't sort out how to determine if the only_trashed filter is active. I want to show the restore button and hide the deleted button, and vice versa, but am struggling with building the conditions for visible() on the action. I can find functions to determine the available filter options, but not the actual active filter.
I can't sort out how to determine if the only_trashed filter is active. I want to show the restore button and hide the deleted button, and vice versa, but am struggling with building the conditions for visible() on the action. I can find functions to determine the available filter options, but not the actual active filter.
