mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Don’t allow eggs to be selected for deletion
This commit is contained in:
@@ -134,6 +134,7 @@ class EggResource extends Resource
|
||||
{
|
||||
return $table
|
||||
->defaultPaginationPageOption(25)
|
||||
->checkIfRecordIsSelectableUsing(fn (Egg $egg) => $egg->servers_count <= 0)
|
||||
->columns([
|
||||
Tables\Columns\TextColumn::make('id')
|
||||
->label('Id')
|
||||
|
||||
Reference in New Issue
Block a user