diff --git a/frontend/app/components/Client/ProfileSettings/ProfileSettings.js b/frontend/app/components/Client/ProfileSettings/ProfileSettings.js index e8b508072..2f1129996 100644 --- a/frontend/app/components/Client/ProfileSettings/ProfileSettings.js +++ b/frontend/app/components/Client/ProfileSettings/ProfileSettings.js @@ -59,7 +59,7 @@ export default class ProfileSettings extends React.PureComponent { - {isEnterprise && ( + {isEnterprise && (account.admin || account.superAdmin) && ( <>
diff --git a/frontend/app/logger/index.js b/frontend/app/logger/index.js index 8b6d7168f..68611c540 100644 --- a/frontend/app/logger/index.js +++ b/frontend/app/logger/index.js @@ -1,7 +1,7 @@ import { options } from 'App/dev/console'; function log(...args) { - if (options.verbose) { + if (!window.env.PRODUCTION || options.verbose) { if (Object.keys(groupTm).length > 0) { console.groupEnd(); }