fix: refactor run-command

This commit is contained in:
Andras Bacsai
2024-09-17 12:27:20 +02:00
parent 4bdb5c9030
commit 162fb7bfc5
3 changed files with 4 additions and 17 deletions

View File

@@ -2,18 +2,10 @@
namespace App\Livewire\Terminal;
use App\Models\Server;
use Livewire\Component;
class Index extends Component
{
public $servers = [];
public function mount()
{
$this->servers = Server::isReachable()->get();
}
public function render()
{
return view('livewire.terminal.index');