Reports only dev mode

This commit is contained in:
Adina Țeudan 2021-06-24 14:23:21 +03:00
parent 9c1e92c9d1
commit 5d8e9c60ab
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ export class AdminSideNavComponent {
{ screen: 'default-colors' },
{ screen: 'watermark' },
{ screen: 'file-attributes', onlyAdmin: true },
{ screen: 'reports', onlyAdmin: true }
{ screen: 'reports', onlyAdmin: true, onlyDevMode: true }
]
};

View File

@ -1,4 +1,4 @@
import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';
import { Component, Input, OnChanges } from '@angular/core';
import { UserService } from '@services/user.service';
import { User } from '@redaction/red-ui-http';
import { TranslateService } from '@ngx-translate/core';