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()
|
->searchable()
|
||||||
->sortable()
|
->sortable()
|
||||||
->wrap()
|
->wrap()
|
||||||
->description(fn (ContentRecap $contentRecap): string => $contentRecap->link),
|
->description(fn (ContentRecap $contentRecap): ?string => $contentRecap?->link),
|
||||||
|
|
||||||
TextColumn::make('type')
|
TextColumn::make('type')
|
||||||
->label('Tipe Konten')
|
->label('Tipe Konten')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user