where('uuid', $uuid)->first(); abort_if($block === null, 404); $this->authorize($block->instance_id !== null ? 'instances.manage' : 'hosts.manage'); $this->uuid = $uuid; $this->ip = $block->ip; } public function confirm(): void { $this->dispatch('security-block-release-confirmed', uuid: $this->uuid); $this->closeModal(); } public function render() { return view('livewire.admin.confirm-release-block'); } }