diff options
Diffstat (limited to 'client/src/app/+admin/system/logs/logs.component.ts')
-rw-r--r-- | client/src/app/+admin/system/logs/logs.component.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+admin/system/logs/logs.component.ts b/client/src/app/+admin/system/logs/logs.component.ts index 48318f07b..865ab80a2 100644 --- a/client/src/app/+admin/system/logs/logs.component.ts +++ b/client/src/app/+admin/system/logs/logs.component.ts | |||
@@ -52,8 +52,8 @@ export class LogsComponent implements OnInit { | |||
52 | this.loading = true | 52 | this.loading = true |
53 | 53 | ||
54 | this.logsService.getLogs({ isAuditLog: this.isAuditLog(), level: this.level, startDate: this.startDate }) | 54 | this.logsService.getLogs({ isAuditLog: this.isAuditLog(), level: this.level, startDate: this.startDate }) |
55 | .subscribe( | 55 | .subscribe({ |
56 | logs => { | 56 | next: logs => { |
57 | this.logs = logs | 57 | this.logs = logs |
58 | 58 | ||
59 | setTimeout(() => { | 59 | setTimeout(() => { |
@@ -61,10 +61,10 @@ export class LogsComponent implements OnInit { | |||
61 | }) | 61 | }) |
62 | }, | 62 | }, |
63 | 63 | ||
64 | err => this.notifier.error(err.message), | 64 | error: err => this.notifier.error(err.message), |
65 | 65 | ||
66 | () => this.loading = false | 66 | complete: () => this.loading = false |
67 | ) | 67 | }) |
68 | } | 68 | } |
69 | 69 | ||
70 | isAuditLog () { | 70 | isAuditLog () { |