mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 10:54:46 +02:00
hide checkbox if servers > 0
This commit is contained in:
parent
267952d750
commit
da08b60f20
@ -18,6 +18,7 @@ class ListNodes extends ListRecords
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->searchable(false)
|
->searchable(false)
|
||||||
|
->checkIfRecordIsSelectableUsing(fn (Node $node) => $node->servers_count <= 0)
|
||||||
->columns([
|
->columns([
|
||||||
Tables\Columns\TextColumn::make('uuid')
|
Tables\Columns\TextColumn::make('uuid')
|
||||||
->label('UUID')
|
->label('UUID')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user