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(),
|
||||
Tables\Columns\TextColumn::make('name')
|
||||
->icon('tabler-egg')
|
||||
->description(fn ($record): string => $record->description)
|
||||
->description(fn ($record): ?string => $record->description)
|
||||
->wrap()
|
||||
->searchable(),
|
||||
Tables\Columns\TextColumn::make('author')
|
||||
|
Loading…
x
Reference in New Issue
Block a user