mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Allow desc to be null
Desc's are allowed to be null as they're not a required field.
This commit is contained in:
parent
3e239f9caa
commit
7de4cf1417
@ -142,7 +142,7 @@ class EggResource extends Resource
|
|||||||
->searchable(),
|
->searchable(),
|
||||||
Tables\Columns\TextColumn::make('name')
|
Tables\Columns\TextColumn::make('name')
|
||||||
->icon('tabler-egg')
|
->icon('tabler-egg')
|
||||||
->description(fn ($record): string => $record->description)
|
->description(fn ($record): ?string => $record->description)
|
||||||
->wrap()
|
->wrap()
|
||||||
->searchable(),
|
->searchable(),
|
||||||
Tables\Columns\TextColumn::make('author')
|
Tables\Columns\TextColumn::make('author')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user