Skip to content

Commit

Permalink
Merge pull request #80 from Sjoerd24/patch-1
Browse files Browse the repository at this point in the history
Update PostResource.php
  • Loading branch information
zepfietje authored Oct 5, 2023
2 parents fdb4145 + 60d0f6d commit 318fe28
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Filament/Resources/Blog/PostResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ public static function infolist(Infolist $infolist): Infolist
Components\Group::make([
Components\TextEntry::make('author.name'),
Components\TextEntry::make('category.name'),
Components\TextEntry::make('tags')
->badge()
->getStateUsing(fn () => ['one', 'two', 'three', 'four']),
Components\SpatieTagsEntry::make('tags'),
]),
]),
Components\ImageEntry::make('image')
Expand Down

0 comments on commit 318fe28

Please sign in to comment.