Skip to content

Commit

Permalink
Update logic for exhibitions [WEB-2705]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-dev-trev committed Dec 20, 2023
1 parent 5392856 commit 566cf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/site/blocks/feature_block.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
'xlarge' => 38,
))))
@endcomponent
@if ($item->type === 'exhibition' && $item->is_now_open || $item->is_closing_soon || $item->is_ongoing)
@if ($item->type === 'exhibition' && ($item->is_now_open || $item->is_closing_soon || $item->is_ongoing))
<div class="m-feature-block-listing__label__overlay">
<span class="{{$item->is_now_open ? 'label-open' : ''}} {{$item->is_closing_soon ? 'label-closing' : ''}}">
{{$item->is_now_open ? 'Now Open' : ''}}
Expand Down

0 comments on commit 566cf7c

Please sign in to comment.