Skip to content

Commit

Permalink
Replace 2nd v-cloak
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Jan 24, 2025
1 parent d4f090b commit 4c97ebb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{-- This component shows an overlay on the last shown thumbnail if there are more thumbnails after it. --}}

<div
@unless (count($product->images) - $imageId - 1) v-cloak @endunless
v-if="images.length - {{ $imageId }} - 1"
>
<div @attributes([
'v-cloak' => !(count($product->images) - $imageId - 1),
'v-if' => 'images.length - ' . $imageId . ' - 1',
])>
<span
@class([
'absolute inset-0 hidden items-center justify-center bg-black/20',
Expand Down

0 comments on commit 4c97ebb

Please sign in to comment.