fix: move s3 storages to separate view
This commit is contained in:
18
app/Livewire/Storage/Index.php
Normal file
18
app/Livewire/Storage/Index.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire\Storage;
|
||||
|
||||
use App\Models\S3Storage;
|
||||
use Livewire\Component;
|
||||
|
||||
class Index extends Component
|
||||
{
|
||||
public $s3;
|
||||
public function mount() {
|
||||
$this->s3 = S3Storage::ownedByCurrentTeam()->get();
|
||||
}
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.storage.index');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user