Skip to content

Commit

Permalink
Use article label field instead of type for showcase tag [WEB-2920]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Aug 26, 2024
1 parent 1bb7a07 commit 512a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/site/digitalPublicationDetail.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
@if($loop->first && $showAll == false)
@component('components.molecules._m-showcase')
@slot('variation', 'showcase--digital-publication')
@slot('tag', $item->present()->type)
@slot('tag', $item->present()->label ?? null)
@slot('title', $item->present()->title_display ?? $item->present()->title)
@slot('author_display', $item->showAuthors())
@slot('description', $item->present()->list_description)
Expand Down

0 comments on commit 512a12f

Please sign in to comment.