fix: affiliates showing when not meant to (#7008)

This commit is contained in:
Calum H.
2026-08-05 14:22:05 +02:00
committed by GitHub
parent bca8b1a02b
commit 1c574a1f2d
+1 -1
View File
@@ -1306,7 +1306,7 @@ const userMenuOptions = computed(() => {
label: formatMessage(commonMessages.affiliateLinksButton),
type: 'link',
to: '/dashboard/affiliate-links',
shown: user.badges & UserBadge.AFFILIATE,
shown: Boolean(user.badges & UserBadge.AFFILIATE),
},
{
id: 'revenue',