Skip to content

Commit 1e7cddf

Browse files
committed
MP-41 fix wrong link on email pref
1 parent 1542d8f commit 1e7cddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/accounts/src/settings/tabs/preferences/PreferencesTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const PreferencesTab: FC<PreferencesTabProps> = (props: PreferencesTabProps) =>
2323
const mailChimpFormAction: string = emailPreferences?.status === 'subscribed' ? unsubscribeLink : subscribeLink
2424

2525
function handleGoToForumPreferences(): void {
26-
window.open(`https://vanilla.${EnvironmentConfig.TC_DOMAIN}/profile/preferences`, '_blank')
26+
window.open(`https://${EnvironmentConfig.ENV === 'prod' ? 'discussions' : 'vanilla'}.${EnvironmentConfig.TC_DOMAIN}/profile/preferences`, '_blank')
2727
}
2828

2929
function handleSubscribtionStatusChange(): void {

0 commit comments

Comments
 (0)