make server entry clickable

This commit is contained in:
Boy132 2025-09-02 10:10:31 +02:00
parent f286e69eb0
commit 448983d937

View File

@ -18,7 +18,7 @@ class ServerEntry extends Component
public function placeholder(): string public function placeholder(): string
{ {
return <<<'HTML' return <<<'HTML'
<div class="relative"> <div class="relative cursor-pointer" x-on:click="window.location.href = '{{ \App\Filament\Server\Pages\Console::getUrl(panel: 'server', tenant: $server) }}'">
<div <div
class="absolute left-0 top-1 bottom-0 w-1 rounded-lg" class="absolute left-0 top-1 bottom-0 w-1 rounded-lg"
style="background-color: #D97706;"> style="background-color: #D97706;">