mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix: affiliates showing when not meant to (#7008)
This commit is contained in:
@@ -1306,7 +1306,7 @@ const userMenuOptions = computed(() => {
|
|||||||
label: formatMessage(commonMessages.affiliateLinksButton),
|
label: formatMessage(commonMessages.affiliateLinksButton),
|
||||||
type: 'link',
|
type: 'link',
|
||||||
to: '/dashboard/affiliate-links',
|
to: '/dashboard/affiliate-links',
|
||||||
shown: user.badges & UserBadge.AFFILIATE,
|
shown: Boolean(user.badges & UserBadge.AFFILIATE),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'revenue',
|
id: 'revenue',
|
||||||
|
|||||||
Reference in New Issue
Block a user