From 42381f8990e03789f4e61a5c969ce4b9419b22e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20St=C3=B6ckel?= Date: Sun, 27 Sep 2026 15:22:39 +0200 Subject: [PATCH] :bug: respect points opt-out on foreign profiles fixes #5080 --- resources/tailwind-app/pages/Profile/UserProfile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/tailwind-app/pages/Profile/UserProfile.vue b/resources/tailwind-app/pages/Profile/UserProfile.vue index 8325e4526..1ce5440d3 100644 --- a/resources/tailwind-app/pages/Profile/UserProfile.vue +++ b/resources/tailwind-app/pages/Profile/UserProfile.vue @@ -33,7 +33,7 @@ const loadingStatuses = ref(true); const showMore = ref(false); const currentPage = ref(1); -const showPoints = computed(() => !!(userData.value?.pointsEnabled || authUser.user?.pointsEnabled)); +const showPoints = computed(() => !!userData.value?.pointsEnabled && (authUser.user?.pointsEnabled ?? true)); const isOwnProfile = computed(() => authUser.authenticated && authUser.getId === userData.value?.id);