jobId = $job->id; $this->filename = $job->artifact_path ? basename($job->artifact_path) : '—'; $this->startedAt = $job->started_at?->format('d.m.Y H:i') ?? '—'; } public function confirm(): void { $this->closeModal(); // Trigger restore in the parent list component via event $this->dispatch('backup:do-restore', jobId: $this->jobId); } public function render() { return view('livewire.ui.system.modal.backup-restore-confirm-modal'); } }