remove unused code
This commit is contained in:
@@ -14,7 +14,6 @@ use Illuminate\Support\Facades\Auth;
|
||||
class Danger extends Component
|
||||
{
|
||||
public $resource;
|
||||
public $service;
|
||||
public $resourceName;
|
||||
public $projectUuid;
|
||||
public $environmentName;
|
||||
@@ -102,7 +101,6 @@ class Danger extends Component
|
||||
}
|
||||
|
||||
try {
|
||||
// $this->authorize('delete', $this->resource);
|
||||
$this->resource->delete();
|
||||
DeleteResourceJob::dispatch(
|
||||
$this->resource,
|
||||
@@ -120,9 +118,4 @@ class Danger extends Component
|
||||
return handleError($e, $this);
|
||||
}
|
||||
}
|
||||
|
||||
// public function render()
|
||||
// {
|
||||
// return view('livewire.project.shared.danger');
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user