mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 12:16:45 +00:00
feat: shared server environment variables
This commit is contained in:
1 parent
c3ff32b287
commit
e8d985211e
13 files changed
+411
-33
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire\SharedVariables\Server;
|
||||
|
||||
use App\Models\Server;
|
||||
use Illuminate\Support\Collection;
|
||||
use Livewire\Component;
|
||||
|
||||
class Index extends Component
|
||||
{
|
||||
public Collection $servers;
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->servers = Server::ownedByCurrentTeamCached();
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.shared-variables.server.index');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user