lasthourcloud/app/Livewire/Storage/Index.php

22 lines
331 B
PHP
Raw Normal View History

2024-01-07 15:23:41 +00:00
<?php
2024-04-26 12:09:54 +00:00
namespace App\Livewire\Storage;
2024-01-07 15:23:41 +00:00
use App\Models\S3Storage;
use Livewire\Component;
class Index extends Component
{
public $s3;
2024-06-10 20:43:34 +00:00
public function mount()
{
2024-01-07 15:23:41 +00:00
$this->s3 = S3Storage::ownedByCurrentTeam()->get();
}
2024-06-10 20:43:34 +00:00
2024-01-07 15:23:41 +00:00
public function render()
{
2024-04-26 12:09:54 +00:00
return view('livewire.storage.index');
2024-01-07 15:23:41 +00:00
}
}