diff options
author | Julien Maulny <julien.maulny@protonmail.com> | 2019-12-27 19:30:12 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-06 15:10:19 +0100 |
commit | 4271212172ebd3ff5b4196ecb4064f79f7d5e0de (patch) | |
tree | 98a547b23de8c08e68f119d8fb8c49e37c2c56a3 /client/src/app/+admin/system/jobs/jobs.component.ts | |
parent | 51b34a11b298b466faef9c8d24beec4442d7add3 (diff) | |
download | PeerTube-4271212172ebd3ff5b4196ecb4064f79f7d5e0de.tar.gz PeerTube-4271212172ebd3ff5b4196ecb4064f79f7d5e0de.tar.zst PeerTube-4271212172ebd3ff5b4196ecb4064f79f7d5e0de.zip |
Enhance jobs list displaying on smaller screens
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[] = [ |