Skip to content

Commit

Permalink
fix: only show badges module when badges achieved or guest, don't sho…
Browse files Browse the repository at this point in the history
…w rays on loading
  • Loading branch information
dyersituations committed Dec 4, 2024
1 parent 32c8b3c commit 4fb6ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Thanks/MyKiva/ThanksBadges.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
/>
<!-- Badges module -->
<div
v-if="isLoading || hasBadgeData"
v-if="(badgesAchieved.length || isGuest) && (isLoading || hasBadgeData)"
class="content-box tw-flex tw-flex-col tw-items-center tw-gap-1.5 tw-text-center tw-overflow-hidden"
:class="{ 'tw-relative' : showBadgeRays }"
>
<!-- BG Rays -->
<div v-show="showBadgeRays" class="ray_box">
<div v-show="!isLoading && showBadgeRays" class="ray_box">
<div class="ray ray1"></div>
<div class="ray ray2"></div>
<div class="ray ray3"></div>
Expand Down

0 comments on commit 4fb6ae9

Please sign in to comment.