]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't display log level in audit logs view
authorChocobozzz <me@florianbigard.com>
Wed, 30 Dec 2020 13:18:32 +0000 (14:18 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 30 Dec 2020 13:18:32 +0000 (14:18 +0100)
client/src/app/+admin/system/logs/logs.component.html
client/src/app/+admin/system/logs/logs.component.ts

index e92e11c2a616f9dbf40fc38f049be16190324557..3d38d6a76e27628c258cf1bfbda8be48223e66c1 100644 (file)
@@ -21,6 +21,7 @@
     (ngModelChange)="refresh()"
     [clearable]="false"
     [searchable]="false"
+    *ngIf="!isAuditLog()"
   >
     <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>
index 62b8bc0b9bfe8dbf4efb110024d2a600b35695b8..ad9d702d8365c29393092cdfbab54466beab05f1 100644 (file)
@@ -25,7 +25,7 @@ export class LogsComponent implements OnInit {
   constructor (
     private logsService: LogsService,
     private notifier: Notifier
-    ) { }
+  ) { }
 
   ngOnInit (): void {
     this.buildTimeChoices()