2023-05-05 10:08:38 +00:00
|
|
|
<?php
|
|
|
|
|
2023-12-07 18:06:32 +00:00
|
|
|
namespace App\Livewire\Project\Shared\Storages;
|
2023-05-05 10:08:38 +00:00
|
|
|
|
|
|
|
use Livewire\Component;
|
|
|
|
|
|
|
|
class All extends Component
|
|
|
|
{
|
2023-08-07 20:14:21 +00:00
|
|
|
public $resource;
|
2024-04-15 17:47:17 +00:00
|
|
|
protected $listeners = ['refreshStorages', 'storagesChanged' => '$refresh'];
|
2023-08-08 09:51:36 +00:00
|
|
|
|
2023-05-05 10:08:38 +00:00
|
|
|
public function refreshStorages()
|
|
|
|
{
|
2023-08-07 20:14:21 +00:00
|
|
|
$this->resource->refresh();
|
2023-05-05 10:08:38 +00:00
|
|
|
}
|
|
|
|
}
|