X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fsystem%2Flogs%2Flogs.component.ts;h=939e710d712384f42944d868714aab0bc0195d6b;hb=42b40636991b97fe818007fab19091764fc5db73;hp=06237522a58b721ef7649d0d1696f7c11b216478;hpb=64553e8809271df1113e9143426a27f234410a74;p=github%2FChocobozzz%2FPeerTube.git 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 @@ import { Component, ElementRef, OnInit, ViewChild } from '@angular/core' import { LocalStorageService, Notifier } from '@app/core' -import { LogLevel } from '@shared/models' +import { ServerLogLevel } from '@shared/models' import { LogRow } from './log-row.model' import { LogsService } from './logs.service' @@ -17,11 +17,11 @@ export class LogsComponent implements OnInit { logs: LogRow[] = [] timeChoices: { id: string, label: string, dateFormat: string }[] = [] - levelChoices: { id: LogLevel, label: string }[] = [] + levelChoices: { id: ServerLogLevel, label: string }[] = [] logTypeChoices: { id: 'audit' | 'standard', label: string }[] = [] startDate: string - level: LogLevel + level: ServerLogLevel logType: 'audit' | 'standard' tagsOneOf: string[] = []