2023-05-05 12:08:38 +02:00
|
|
|
<?php
|
|
|
|
|
2023-12-07 19:06:32 +01:00
|
|
|
namespace App\Livewire\Project\Shared\Storages;
|
2023-05-05 12:08:38 +02:00
|
|
|
|
2023-05-05 14:20:10 +02:00
|
|
|
use App\Models\LocalPersistentVolume;
|
2023-05-05 12:08:38 +02:00
|
|
|
use Livewire\Component;
|
|
|
|
|
|
|
|
class All extends Component
|
|
|
|
{
|
2023-08-07 22:14:21 +02:00
|
|
|
public $resource;
|
2023-10-04 09:58:39 +02:00
|
|
|
protected $listeners = ['refreshStorages'];
|
2023-08-08 11:51:36 +02:00
|
|
|
|
2023-05-05 12:08:38 +02:00
|
|
|
public function refreshStorages()
|
|
|
|
{
|
2023-08-07 22:14:21 +02:00
|
|
|
$this->resource->refresh();
|
2023-05-05 12:08:38 +02:00
|
|
|
}
|
|
|
|
}
|