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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.ts b/client/src/app/+admin/system/jobs/jobs.component.ts index c3211d71f..20c8ea71a 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.ts +++ b/client/src/app/+admin/system/jobs/jobs.component.ts | |||
@@ -7,6 +7,7 @@ import { JobState } from '../../../../../../shared/models' | |||
7 | import { RestPagination, RestTable } from '../../../shared' | 7 | import { RestPagination, RestTable } from '../../../shared' |
8 | import { JobService } from './job.service' | 8 | import { JobService } from './job.service' |
9 | import { I18n } from '@ngx-translate/i18n-polyfill' | 9 | import { I18n } from '@ngx-translate/i18n-polyfill' |
10 | import { JobStateClient } from '../../../../types/job-state-client.type' | ||
10 | import { JobTypeClient } from '../../../../types/job-type-client.type' | 11 | import { JobTypeClient } from '../../../../types/job-type-client.type' |
11 | 12 | ||
12 | @Component({ | 13 | @Component({ |
@@ -18,8 +19,8 @@ export class JobsComponent extends RestTable implements OnInit { | |||
18 | private static JOB_STATE_LOCAL_STORAGE_STATE = 'jobs-list-state' | 19 | private static JOB_STATE_LOCAL_STORAGE_STATE = 'jobs-list-state' |
19 | private static JOB_STATE_LOCAL_STORAGE_TYPE = 'jobs-list-type' | 20 | private static JOB_STATE_LOCAL_STORAGE_TYPE = 'jobs-list-type' |
20 | 21 | ||
21 | jobState: JobState = 'waiting' | 22 | jobState: JobStateClient = 'waiting' |
22 | jobStates: JobState[] = [ 'active', 'completed', 'failed', 'waiting', 'delayed' ] | 23 | jobStates: JobStateClient[] = [ 'active', 'completed', 'failed', 'waiting', 'delayed' ] |
23 | 24 | ||
24 | jobType: JobTypeClient = 'all' | 25 | jobType: JobTypeClient = 'all' |
25 | jobTypes: JobTypeClient[] = [ | 26 | jobTypes: JobTypeClient[] = [ |