refactor: add null safety to content link and standardize closure formatting in ContentRecapsTable
This commit is contained in:
parent
d3dc7c1ab9
commit
a92716cb10
@ -41,7 +41,7 @@ public static function configure(Table $table): Table
|
||||
->searchable()
|
||||
->sortable()
|
||||
->wrap()
|
||||
->description(fn (ContentRecap $contentRecap): string => $contentRecap->link),
|
||||
->description(fn (ContentRecap $contentRecap): ?string => $contentRecap?->link),
|
||||
|
||||
TextColumn::make('type')
|
||||
->label('Tipe Konten')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user