Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bahman026 committed Dec 21, 2024
1 parent 5e276cf commit 84253d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ShopFlow/app/Filament/Resources/CategoryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public static function table(Table $table): Table
->getStateUsing(function (Category $record) {
/** @var \Illuminate\Database\Eloquent\Collection|\App\Models\Image[] $images */
$images = $record->images;

return $images->first()?->path;
}),

Expand Down

0 comments on commit 84253d4

Please sign in to comment.