aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-30 14:18:32 +0100
committerChocobozzz <me@florianbigard.com>2020-12-30 14:18:32 +0100
commit1227fe070e60b41731900c7712454c1409e6c025 (patch)
tree84ac036b3183adfca192df9cce03d37e5e31dc46
parentdfed7846e2a9fee203e960f78a41e8a66f6103a5 (diff)
downloadPeerTube-1227fe070e60b41731900c7712454c1409e6c025.tar.gz
PeerTube-1227fe070e60b41731900c7712454c1409e6c025.tar.zst
PeerTube-1227fe070e60b41731900c7712454c1409e6c025.zip
Don't display log level in audit logs view
-rw-r--r--client/src/app/+admin/system/logs/logs.component.html1
-rw-r--r--client/src/app/+admin/system/logs/logs.component.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+admin/system/logs/logs.component.html b/client/src/app/+admin/system/logs/logs.component.html
index e92e11c2a..3d38d6a76 100644
--- a/client/src/app/+admin/system/logs/logs.component.html
+++ b/client/src/app/+admin/system/logs/logs.component.html
@@ -21,6 +21,7 @@
21 (ngModelChange)="refresh()" 21 (ngModelChange)="refresh()"
22 [clearable]="false" 22 [clearable]="false"
23 [searchable]="false" 23 [searchable]="false"
24 *ngIf="!isAuditLog()"
24 > 25 >
25 <ng-option *ngFor="let levelChoice of levelChoices" [value]="levelChoice.id"> 26 <ng-option *ngFor="let levelChoice of levelChoices" [value]="levelChoice.id">
26 <ng-container *ngIf="levelChoice.id === 'debug'"><span style="font-size:80%;color:lightgray;vertical-align:text-top;">&#11044;</span> {{ levelChoice.label }}</ng-container> 27 <ng-container *ngIf="levelChoice.id === 'debug'"><span style="font-size:80%;color:lightgray;vertical-align:text-top;">&#11044;</span> {{ levelChoice.label }}</ng-container>
diff --git a/client/src/app/+admin/system/logs/logs.component.ts b/client/src/app/+admin/system/logs/logs.component.ts
index 62b8bc0b9..ad9d702d8 100644
--- a/client/src/app/+admin/system/logs/logs.component.ts
+++ b/client/src/app/+admin/system/logs/logs.component.ts
@@ -25,7 +25,7 @@ export class LogsComponent implements OnInit {
25 constructor ( 25 constructor (
26 private logsService: LogsService, 26 private logsService: LogsService,
27 private notifier: Notifier 27 private notifier: Notifier
28 ) { } 28 ) { }
29 29
30 ngOnInit (): void { 30 ngOnInit (): void {
31 this.buildTimeChoices() 31 this.buildTimeChoices()