diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-20 12:40:42 +0300 |
commit | ee664acb356f8123f4f6b00b73c1e1cf0866c7fb (patch) | |
tree | f8479f94a28f66654c6a4f6fb99bad6b4e86a40e /app/assets/javascripts/jobs/components/table/constants.js | |
parent | 62f7d5c5b69180e82ae8196b7b429eeffc8e7b4f (diff) |
Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42
Diffstat (limited to 'app/assets/javascripts/jobs/components/table/constants.js')
-rw-r--r-- | app/assets/javascripts/jobs/components/table/constants.js | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/app/assets/javascripts/jobs/components/table/constants.js b/app/assets/javascripts/jobs/components/table/constants.js index 853834ed51d..f73241aed6b 100644 --- a/app/assets/javascripts/jobs/components/table/constants.js +++ b/app/assets/javascripts/jobs/components/table/constants.js @@ -1,5 +1,4 @@ import { s__, __ } from '~/locale'; -import { DEFAULT_TH_CLASSES } from '~/lib/utils/constants'; /* Error constants */ export const POST_FAILURE = 'post_failure'; @@ -29,62 +28,46 @@ export const PLAY_JOB_CONFIRMATION_MESSAGE = s__( export const RUN_JOB_NOW_HEADER_TITLE = s__('DelayedJobs|Run the delayed job now?'); /* Table constants */ - -const defaultTableClasses = { - tdClass: 'gl-p-5!', - thClass: DEFAULT_TH_CLASSES, -}; -// eslint-disable-next-line @gitlab/require-i18n-strings -const coverageTdClasses = `${defaultTableClasses.tdClass} gl-display-none! gl-lg-display-table-cell!`; - export const DEFAULT_FIELDS = [ { key: 'status', label: __('Status'), - ...defaultTableClasses, columnClass: 'gl-w-10p', }, { key: 'job', label: __('Job'), - ...defaultTableClasses, columnClass: 'gl-w-20p', }, { key: 'pipeline', label: __('Pipeline'), - ...defaultTableClasses, columnClass: 'gl-w-10p', }, { key: 'stage', label: __('Stage'), - ...defaultTableClasses, columnClass: 'gl-w-10p', }, { key: 'name', label: __('Name'), - ...defaultTableClasses, columnClass: 'gl-w-15p', }, { key: 'duration', label: __('Duration'), - ...defaultTableClasses, columnClass: 'gl-w-15p', }, { key: 'coverage', label: __('Coverage'), - tdClass: coverageTdClasses, - thClass: defaultTableClasses.thClass, + tdClass: 'gl-display-none! gl-lg-display-table-cell!', columnClass: 'gl-w-10p', }, { key: 'actions', label: '', - ...defaultTableClasses, columnClass: 'gl-w-10p', }, ]; |