diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/system/jobs/job.service.ts | 4 | ||||
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.html | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/client/src/app/+admin/system/jobs/job.service.ts b/client/src/app/+admin/system/jobs/job.service.ts index 6c4a07469..ef8ddd3b4 100644 --- a/client/src/app/+admin/system/jobs/job.service.ts +++ b/client/src/app/+admin/system/jobs/job.service.ts | |||
@@ -34,9 +34,7 @@ export class JobService { | |||
34 | 34 | ||
35 | return this.authHttp.get<ResultList<Job>>(JobService.BASE_JOB_URL + `/${jobState || ''}`, { params }) | 35 | return this.authHttp.get<ResultList<Job>>(JobService.BASE_JOB_URL + `/${jobState || ''}`, { params }) |
36 | .pipe( | 36 | .pipe( |
37 | map(res => { | 37 | map(res => this.restExtractor.convertResultListDateToHuman(res, [ 'createdAt', 'processedOn', 'finishedOn' ], 'precise')), |
38 | return this.restExtractor.convertResultListDateToHuman(res, [ 'createdAt', 'processedOn', 'finishedOn' ]) | ||
39 | }), | ||
40 | map(res => this.restExtractor.applyToResultListData(res, this.prettyPrintData)), | 38 | map(res => this.restExtractor.applyToResultListData(res, this.prettyPrintData)), |
41 | map(res => this.restExtractor.applyToResultListData(res, this.buildUniqId)), | 39 | map(res => this.restExtractor.applyToResultListData(res, this.buildUniqId)), |
42 | catchError(err => this.restExtractor.handleError(err)) | 40 | catchError(err => this.restExtractor.handleError(err)) |
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html index b53fafeba..a5266bde5 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.html +++ b/client/src/app/+admin/system/jobs/jobs.component.html | |||
@@ -69,7 +69,7 @@ | |||
69 | <ng-container *ngIf="hasProgress(job)">{{ getProgress(job) }}</ng-container> | 69 | <ng-container *ngIf="hasProgress(job)">{{ getProgress(job) }}</ng-container> |
70 | </td> | 70 | </td> |
71 | 71 | ||
72 | <td class="job-date c-hand" [pRowToggler]="job">{{ job.createdAt | date: 'short' }}</td> | 72 | <td class="job-date c-hand" [pRowToggler]="job">{{ job.createdAt }}</td> |
73 | </tr> | 73 | </tr> |
74 | </ng-template> | 74 | </ng-template> |
75 | 75 | ||