lasthourcloud/app/Http/Livewire/Project/Shared/Storages/All.php

18 lines
313 B
PHP
Raw Normal View History

2023-05-05 10:08:38 +00:00
<?php
2023-08-07 20:14:21 +00:00
namespace App\Http\Livewire\Project\Shared\Storages;
2023-05-05 10:08:38 +00:00
2023-05-05 12:20:10 +00:00
use App\Models\LocalPersistentVolume;
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;
protected $listeners = ['refreshStorages'];
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
}
}