diff options
Diffstat (limited to 'client/src/app/+admin/system/jobs/jobs.component.ts')
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts index 4b02e1bc1..b12d7f80a 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.ts +++ b/client/src/app/+admin/system/jobs/jobs.component.ts | |||
@@ -119,14 +119,14 @@ export class JobsComponent extends RestTable implements OnInit { | |||
119 | pagination: this.pagination, | 119 | pagination: this.pagination, |
120 | sort: this.sort | 120 | sort: this.sort |
121 | }) | 121 | }) |
122 | .subscribe( | 122 | .subscribe({ |
123 | resultList => { | 123 | next: resultList => { |
124 | this.jobs = resultList.data | 124 | this.jobs = resultList.data |
125 | this.totalRecords = resultList.total | 125 | this.totalRecords = resultList.total |
126 | }, | 126 | }, |
127 | 127 | ||
128 | err => this.notifier.error(err.message) | 128 | error: err => this.notifier.error(err.message) |
129 | ) | 129 | }) |
130 | } | 130 | } |
131 | 131 | ||
132 | private loadJobStateAndType () { | 132 | private loadJobStateAndType () { |