Skip to content

Commit

Permalink
Skip if no image at all
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Oct 4, 2024
1 parent 8a90f1d commit 254ce39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/home/user.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<div class="osu-page">
<div class="user-home">
<div class="user-home__news">
<div class="js-react--menu-images">
@if (count($menuImages) > 0)
@if (count($menuImages) > 0)
<div class="js-react--menu-images">
<div class="menu-images menu-images--placeholder">
<div class="menu-images__container">
{!! spinner() !!}
Expand All @@ -30,8 +30,8 @@
</div>
@endif
</div>
@endif
</div>
</div>
@endif

<h2 class="user-home__news-title">{{ osu_trans('home.user.news.title') }}</h2>

Expand Down

0 comments on commit 254ce39

Please sign in to comment.