mirror of
https://github.com/modrinth/code.git
synced 2026-08-24 16:44:51 +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),
|
||||
type: 'link',
|
||||
to: '/dashboard/affiliate-links',
|
||||
shown: user.badges & UserBadge.AFFILIATE,
|
||||
shown: Boolean(user.badges & UserBadge.AFFILIATE),
|
||||
},
|
||||
{
|
||||
id: 'revenue',
|
||||
|
||||
Reference in New Issue
Block a user