authorize('dpa.manage'); $version = DpaVersion::query()->where('uuid', $uuid)->firstOrFail(); $this->uuid = $uuid; $this->version = $version->version; } public function confirm(): void { $this->authorize('dpa.manage'); $this->dispatch('dpa-publish-confirmed', uuid: $this->uuid); $this->closeModal(); } public function render() { return view('livewire.admin.confirm-publish-dpa'); } }