1
0
Fork 0

Don't display log level in audit logs view

This commit is contained in:
Chocobozzz 2020-12-30 14:18:32 +01:00
parent dfed7846e2
commit 1227fe070e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
(ngModelChange)="refresh()" (ngModelChange)="refresh()"
[clearable]="false" [clearable]="false"
[searchable]="false" [searchable]="false"
*ngIf="!isAuditLog()"
> >
<ng-option *ngFor="let levelChoice of levelChoices" [value]="levelChoice.id"> <ng-option *ngFor="let levelChoice of levelChoices" [value]="levelChoice.id">
<ng-container *ngIf="levelChoice.id === 'debug'"><span style="font-size:80%;color:lightgray;vertical-align:text-top;">&#11044;</span> {{ levelChoice.label }}</ng-container> <ng-container *ngIf="levelChoice.id === 'debug'"><span style="font-size:80%;color:lightgray;vertical-align:text-top;">&#11044;</span> {{ levelChoice.label }}</ng-container>

View file

@ -25,7 +25,7 @@ export class LogsComponent implements OnInit {
constructor ( constructor (
private logsService: LogsService, private logsService: LogsService,
private notifier: Notifier private notifier: Notifier
) { } ) { }
ngOnInit (): void { ngOnInit (): void {
this.buildTimeChoices() this.buildTimeChoices()