From 57f4f6728bcf88937fd4244db9c8e338e54ec1d6 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Mon, 5 Dec 2022 08:47:42 -0500 Subject: [PATCH] further fix --- src/constants.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/constants.js b/src/constants.js index fa050c6..8b6242f 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,6 +1,6 @@ const { REACT_APP_API_BASE_URL, REACT_APP_ENABLE_ACCOUNT_LIMITS_ALL } = process.env; export const APP_API_BASE_URL = (window.JAMBONZ) ? window.JAMBONZ.APP_API_BASE_URL : REACT_APP_API_BASE_URL; -export const APP_ENABLE_ACCOUNT_LIMITS_ALL = (window.JAMBONZ) ? window.JAMBONZ.REACT_APP_ENABLE_ACCOUNT_LIMITS_ALL : JSON.parse(REACT_APP_ENABLE_ACCOUNT_LIMITS_ALL); +export const APP_ENABLE_ACCOUNT_LIMITS_ALL = (window.JAMBONZ) ? window.JAMBONZ.APP_ENABLE_ACCOUNT_LIMITS_ALL : JSON.parse(REACT_APP_ENABLE_ACCOUNT_LIMITS_ALL); export const LIMITS = [ // { // label: "Max registered devices (0=unlimited)", @@ -32,4 +32,3 @@ export const LIMITS = [ }); } console.log(`LIMITS: ${JSON.stringify(LIMITS)}`); - \ No newline at end of file