Skip to content

Commit

Permalink
Dedup tags in select
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Sep 8, 2024
1 parent 3c3c403 commit c5c8020
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ public function assetTags(): array
'tags' => AssetTag::query()
->get()
->map(fn(AssetTag $tag) => $tag->tag)
->unique()
->toArray(),
];
}
Expand Down

0 comments on commit c5c8020

Please sign in to comment.