GetTabs actions

In a scenario where I'm using soft deletes I have an active and inactive tab but my bulk archive (delete) action shows on both active and inactive header.

Is there a way to only show the archive (delete) action on the active tab?
Solution
This should work
Action::make()
  ->visible(fn ($livewire) => $livewire->activeTab == 'active')
Was this page helpful?