diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-15 15:30:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 11:37:18 +0200 |
commit | 42b40636991b97fe818007fab19091764fc5db73 (patch) | |
tree | db431787c06ce898d22e91ff771f795219274fc6 /client/src/app/+admin/system/logs/logs.component.ts | |
parent | 654d4ede7fa4d0faa71e49bcfab6b65a686397b2 (diff) | |
download | PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.gz PeerTube-42b40636991b97fe818007fab19091764fc5db73.tar.zst PeerTube-42b40636991b97fe818007fab19091764fc5db73.zip |
Add ability for client to create server logs
Diffstat (limited to 'client/src/app/+admin/system/logs/logs.component.ts')
-rw-r--r-- | client/src/app/+admin/system/logs/logs.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/system/logs/logs.component.ts b/client/src/app/+admin/system/logs/logs.component.ts index 06237522a..939e710d7 100644 --- a/client/src/app/+admin/system/logs/logs.component.ts +++ b/client/src/app/+admin/system/logs/logs.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, ElementRef, OnInit, ViewChild } from '@angular/core' | 1 | import { Component, ElementRef, OnInit, ViewChild } from '@angular/core' |
2 | import { LocalStorageService, Notifier } from '@app/core' | 2 | import { LocalStorageService, Notifier } from '@app/core' |
3 | import { LogLevel } from '@shared/models' | 3 | import { ServerLogLevel } from '@shared/models' |
4 | import { LogRow } from './log-row.model' | 4 | import { LogRow } from './log-row.model' |
5 | import { LogsService } from './logs.service' | 5 | import { LogsService } from './logs.service' |
6 | 6 | ||
@@ -17,11 +17,11 @@ export class LogsComponent implements OnInit { | |||
17 | 17 | ||
18 | logs: LogRow[] = [] | 18 | logs: LogRow[] = [] |
19 | timeChoices: { id: string, label: string, dateFormat: string }[] = [] | 19 | timeChoices: { id: string, label: string, dateFormat: string }[] = [] |
20 | levelChoices: { id: LogLevel, label: string }[] = [] | 20 | levelChoices: { id: ServerLogLevel, label: string }[] = [] |
21 | logTypeChoices: { id: 'audit' | 'standard', label: string }[] = [] | 21 | logTypeChoices: { id: 'audit' | 'standard', label: string }[] = [] |
22 | 22 | ||
23 | startDate: string | 23 | startDate: string |
24 | level: LogLevel | 24 | level: ServerLogLevel |
25 | logType: 'audit' | 'standard' | 25 | logType: 'audit' | 'standard' |
26 | tagsOneOf: string[] = [] | 26 | tagsOneOf: string[] = [] |
27 | 27 | ||