mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Add id to allocation table
This commit is contained in:
parent
b1f99ca8a3
commit
0c61a63191
@ -40,6 +40,10 @@ class AllocationsRelationManager extends RelationManager
|
|||||||
->checkIfRecordIsSelectableUsing(fn (Allocation $allocation) => $allocation->server_id === null)
|
->checkIfRecordIsSelectableUsing(fn (Allocation $allocation) => $allocation->server_id === null)
|
||||||
->searchable()
|
->searchable()
|
||||||
->columns([
|
->columns([
|
||||||
|
Tables\Columns\TextColumn::make('id'),
|
||||||
|
Tables\Columns\TextColumn::make('port')
|
||||||
|
->searchable()
|
||||||
|
->label('Port'),
|
||||||
Tables\Columns\TextColumn::make('server.name')
|
Tables\Columns\TextColumn::make('server.name')
|
||||||
->label('Server')
|
->label('Server')
|
||||||
->icon('tabler-brand-docker')
|
->icon('tabler-brand-docker')
|
||||||
@ -51,9 +55,6 @@ class AllocationsRelationManager extends RelationManager
|
|||||||
Tables\Columns\TextInputColumn::make('ip')
|
Tables\Columns\TextInputColumn::make('ip')
|
||||||
->searchable()
|
->searchable()
|
||||||
->label('IP'),
|
->label('IP'),
|
||||||
Tables\Columns\TextColumn::make('port')
|
|
||||||
->searchable()
|
|
||||||
->label('Port'),
|
|
||||||
])
|
])
|
||||||
->filters([
|
->filters([
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user