Merge pull request #873 from openreplay/v1.9.0-changes
change(ui) - preferences tenant key restrict to admin and removed logs
This commit is contained in:
commit
51fb35bca3
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ export default class ProfileSettings extends React.PureComponent {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{isEnterprise && (
|
{isEnterprise && (account.admin || account.superAdmin) && (
|
||||||
<>
|
<>
|
||||||
<div className="border-b my-10" />
|
<div className="border-b my-10" />
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { options } from 'App/dev/console';
|
import { options } from 'App/dev/console';
|
||||||
|
|
||||||
function log(...args) {
|
function log(...args) {
|
||||||
if (options.verbose) {
|
if (!window.env.PRODUCTION || options.verbose) {
|
||||||
if (Object.keys(groupTm).length > 0) {
|
if (Object.keys(groupTm).length > 0) {
|
||||||
console.groupEnd();
|
console.groupEnd();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue