fix admin panel
This commit is contained in:
parent
a90b8fddbc
commit
f88a9d4650
|
@ -6,6 +6,7 @@
|
|||
</div>
|
||||
|
||||
<ng-select
|
||||
*ngIf="!isAuditLog() || isAuditLogsEnabled"
|
||||
[(ngModel)]="startDate"
|
||||
(ngModelChange)="refresh()"
|
||||
[clearable]="false"
|
||||
|
@ -30,7 +31,7 @@
|
|||
|
||||
<my-select-tags *ngIf="!isAuditLog()" i18n-placeholder placeholder="Filter logs by tags" [(ngModel)]="tagsOneOf" (ngModelChange)="refresh()"></my-select-tags>
|
||||
|
||||
<my-button i18n-label label="Refresh" icon="refresh" (click)="refresh()"></my-button>
|
||||
<my-button *ngIf="!isAuditLog() || isAuditLogsEnabled" i18n-label label="Refresh" icon="refresh" (click)="refresh()"></my-button>
|
||||
</div>
|
||||
|
||||
<div class="logs">
|
||||
|
|
|
@ -37,7 +37,7 @@ export class LogsComponent implements OnInit {
|
|||
|
||||
ngOnInit (): void {
|
||||
this.serverConfig = this.serverService.getHTMLConfig()
|
||||
console.log(JSON.stringify(this.serverConfig))
|
||||
this.isAuditLogsEnabled = this.serverConfig.instance.logs.auditLogs.enabled
|
||||
|
||||
this.buildTimeChoices()
|
||||
this.buildLevelChoices()
|
||||
|
|
Loading…
Reference in New Issue
Block a user