From f9f215f20da8f1e1f272500e1c131419e7f09e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Regadas?= Date: Thu, 2 Mar 2023 16:19:20 +0000 Subject: [PATCH] [MMI] Adds the MMI support link and the mmi_website link as well (#17853) --- shared/lib/ui-utils.js | 4 ++++ ui/helpers/constants/common.ts | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/shared/lib/ui-utils.js b/shared/lib/ui-utils.js index c562e7a82..5fbac0b74 100644 --- a/shared/lib/ui-utils.js +++ b/shared/lib/ui-utils.js @@ -1,5 +1,9 @@ let _supportLink = 'https://support.metamask.io'; +///: BEGIN:ONLY_INCLUDE_IN(mmi) +_supportLink = 'https://mmi-support.zendesk.com/hc/en-us'; +///: END:ONLY_INCLUDE_IN + ///: BEGIN:ONLY_INCLUDE_IN(flask) _supportLink = 'https://metamask-flask.zendesk.com/hc'; ///: END:ONLY_INCLUDE_IN diff --git a/ui/helpers/constants/common.ts b/ui/helpers/constants/common.ts index ca8756adf..da6e58a34 100644 --- a/ui/helpers/constants/common.ts +++ b/ui/helpers/constants/common.ts @@ -10,6 +10,12 @@ _supportRequestLink = 'https://metamask-flask.zendesk.com/hc/en-us/requests/new'; ///: END:ONLY_INCLUDE_IN +///: BEGIN:ONLY_INCLUDE_IN(mmi) +_supportRequestLink = 'https://mmi-support.zendesk.com/hc/en-us/requests/new'; +const _mmiWebSite = 'https://metamask.io/institutions/'; +export const MMI_WEB_SITE = _mmiWebSite; +///: END:ONLY_INCLUDE_IN + export const SUPPORT_REQUEST_LINK = _supportRequestLink; export const CONTRACT_ADDRESS_LINK = _contractAddressLink; export const PASSWORD_MIN_LENGTH = 8;