columns([ TextColumn::make('description') ->label(trans('admin/webhook.table.description')), TextColumn::make('endpoint') ->label(trans('admin/webhook.table.endpoint')), ]) ->actions([ DeleteAction::make(), EditAction::make(), ]) ->emptyStateIcon('tabler-webhook') ->emptyStateDescription('') ->emptyStateHeading(trans('admin/webhook.no_webhooks')) ->emptyStateActions([ CreateAction::make('create') ->button(), ]); } protected function getHeaderActions(): array { return [ Actions\CreateAction::make() ->hidden(fn () => WebhookConfiguration::count() <= 0), ]; } }