fix: Update NewsTable description method to allow null values for record links
This commit is contained in:
parent
63cd003425
commit
3dd098759c
@ -33,7 +33,7 @@ public static function configure(Table $table): Table
|
||||
->sortable()
|
||||
->wrap()
|
||||
->limit(50)
|
||||
->description(fn (News $record): string => $record->link),
|
||||
->description(fn (News $record): ?string => $record->link),
|
||||
|
||||
TextColumn::make('author.name')
|
||||
->label('Penulis')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user