diff --git a/src/components/ManagerPage/Dashboard.js b/src/components/ManagerPage/Dashboard.js index 981a48d3..5b4eb971 100644 --- a/src/components/ManagerPage/Dashboard.js +++ b/src/components/ManagerPage/Dashboard.js @@ -2,6 +2,7 @@ import React from 'react' import { translate } from 'react-i18next' +import { EXPERIMENTAL_FIRMWARE_UPDATE } from 'config/constants' import type { T, Device } from 'types/common' import Box from 'components/base/Box' @@ -34,13 +35,15 @@ const Dashboard = ({ device, deviceInfo, t }: Props) => ( - + {EXPERIMENTAL_FIRMWARE_UPDATE ? ( + + ) : null} diff --git a/src/config/constants.js b/src/config/constants.js index 802feb7a..ebca3946 100644 --- a/src/config/constants.js +++ b/src/config/constants.js @@ -67,6 +67,7 @@ export const SHOW_LEGACY_NEW_ACCOUNT = boolFromEnv('SHOW_LEGACY_NEW_ACCOUNT') export const HIGHLIGHT_I18N = boolFromEnv('HIGHLIGHT_I18N') export const DISABLE_ACTIVITY_INDICATORS = boolFromEnv('DISABLE_ACTIVITY_INDICATORS') export const EXPERIMENTAL_CENTER_MODAL = boolFromEnv('EXPERIMENTAL_CENTER_MODAL') +export const EXPERIMENTAL_FIRMWARE_UPDATE = boolFromEnv('EXPERIMENTAL_FIRMWARE_UPDATE') // Other constants