This commit is contained in:
Andras Bacsai 2024-08-05 20:07:08 +02:00
parent ea5101c814
commit 3e0821e471
2 changed files with 5 additions and 3 deletions

View file

@ -17,7 +17,7 @@ public function getListeners()
return [
"echo-private:team.{$teamId},FileStorageChanged" => 'refreshStoragesFromEvent',
'refreshStorages' => '$refresh',
'refreshStorages',
'addNewVolume',
];
}
@ -36,6 +36,7 @@ public function refreshStoragesFromEvent()
public function refreshStorages()
{
$this->fileStorage = $this->resource->fileStorages()->get();
$this->dispatch('$refresh');
}
public function addNewVolume($data)

View file

@ -27,8 +27,9 @@ class="text-error">Please think
</x-modal-confirmation>
@endif
<x-modal-confirmation isErrorButton buttonTitle="Delete">
<div class="px-2">This resource will be deleted. It is not reversible. <strong
class="text-error">Please think
<div class="px-2">This storage will be deleted. It is not reversible. <strong
class="text-error">Please
think
again.</strong><br><br></div>
<h4>Actions</h4>
@if ($fileStorage->is_directory)