Skip to content

Commit 52ebb14

Browse files
committed
fix access rigthts on ratings
1 parent c543baa commit 52ebb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/gallery/photoModule/PhotoRatingOverlay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<StarRow :rating="displayedRating" size="large" />
1515
</div>
1616
<div
17-
v-if="userStore.user !== undefined && photoStore?.photo && photoStore?.photo.rating"
17+
v-if="userStore.isLoggedIn && photoStore?.photo && photoStore?.photo.rating"
1818
class="absolute left-1/2 -translate-x-1/2 bottom-7 text-shadow"
1919
>
2020
<!-- Star rating buttons (1-5) -->

0 commit comments

Comments
 (0)