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:
Shekar Siri 2022-12-12 17:24:52 +05:30 committed by GitHub
commit 51fb35bca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ export default class ProfileSettings extends React.PureComponent {
</div>
</div>
{isEnterprise && (
{isEnterprise && (account.admin || account.superAdmin) && (
<>
<div className="border-b my-10" />
<div className="flex items-center">

View file

@ -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();
}