Skip to content

Commit

Permalink
Call $item->url instead of item->present()->getCanonicalUrl [PUB-233]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Aug 26, 2024
1 parent 3ffaccd commit 6c53dd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
@else
<span class="m-link-list__item o-accordion__panel-content">
<a class="m-link-list__trigger f-secondary {{ $isActive ? 'active' : '' }}" href="{{ $item->present()->getCanonicalUrl }}"{!! (isset($item->gtmAttributes)) ? ' '.$item->gtmAttributes.'' : '' !!}>
<a class="m-link-list__trigger f-secondary {{ $isActive ? 'active' : '' }}" href="{{ $item->url }}"{!! (isset($item->gtmAttributes)) ? ' '.$item->gtmAttributes.'' : '' !!}>
<span class="m-link-list__label">{!! $item->title !!}</span>
</a>
</span>
Expand Down

0 comments on commit 6c53dd0

Please sign in to comment.