label(__('Name')), TextColumn::make('label') ->label(__('Label')), ]; } protected function getTableActions(): array { return [ Action::make('synchronize_provider') ->label(__('Synchronize')) ->icon('heroicon-o-refresh') ->action(function (AvailableProvider $record, self $livewire) { $provider = app(SynchronizeProviderAction::class)->execute($record->id); $livewire->emit('$refresh'); Notification::make() ->body(__('Provider :provider synchronized successfully.', ['provider' => $provider->name])) ->success() ->send(); }), ]; } }