How can I refresh the page after a filter is changed

Hey all, I am currently looking for a way to refresh the whole page whenever a filter of a table is changed. The reason for this is that I have a widget with a mapping tool. And whenever the filter is changed I want it to change map. The problem is that the map of this mapping tool, can not be changed unless the page is reloaded.
These are my current filters:
->filters([
                Tables\Filters\TrashedFilter::make(),
                Tables\Filters\SelectFilter::make('locations')
                    ->relationship('location', 'name')
            ])

Preferably it only refreshes the page when the transmitters filter gets changed, but I won't mind if there is a solution where it happens if either one gets updated.
Was this page helpful?