fix: Update NewsTable description method to allow null values for record links

This commit is contained in:
Yoga Pangestu 2026-03-18 01:35:19 +07:00
parent 63cd003425
commit 3dd098759c

View File

@ -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')