sync( $this->getTableFiltersSessionKey(), request: request(), tenantFilterName: null, ); parent::mount(); } private function tableHasRecords(): bool { return $this->getTableRecords()->count() > 0; } protected function getHeaderActions(): array { return [ BackupSetResource::makeCreateAction() ->visible(fn (): bool => $this->tableHasRecords()), ]; } protected function getTableEmptyStateActions(): array { return [ BackupSetResource::makeCreateAction(), ]; } }