run->tenant; $notification = OperationUxPresenter::terminalDatabaseNotification( run: $this->run, tenant: $tenant instanceof Tenant ? $tenant : null, ); if ($notifiable instanceof PlatformUser) { $notification->actions([ \Filament\Actions\Action::make('view_run') ->label('View run') ->url(SystemOperationRunLinks::view($this->run)), ]); } return $notification->getDatabaseMessage(); } }