Commit 386b0467 authored by lauraMon's avatar lauraMon

Extracts string into const

parent 88c7d32e
...@@ -20,6 +20,8 @@ import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue'; ...@@ -20,6 +20,8 @@ import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
import _ from 'underscore'; import _ from 'underscore';
export const tableDataClass = 'table-col d-flex d-sm-table-cell';
export default { export default {
FIRST_PAGE: 1, FIRST_PAGE: 1,
PREV_PAGE: 1, PREV_PAGE: 1,
...@@ -29,37 +31,37 @@ export default { ...@@ -29,37 +31,37 @@ export default {
key: 'error', key: 'error',
label: __('Error'), label: __('Error'),
thClass: 'w-60p', thClass: 'w-60p',
tdClass: 'table-col d-flex d-sm-table-cell px-3', tdClass: `${tableDataClass} px-3`,
}, },
{ {
key: 'events', key: 'events',
label: __('Events'), label: __('Events'),
thClass: 'text-right', thClass: 'text-right',
tdClass: 'table-col d-flex d-sm-table-cell', tdClass: `${tableDataClass}`,
}, },
{ {
key: 'users', key: 'users',
label: __('Users'), label: __('Users'),
thClass: 'text-right', thClass: 'text-right',
tdClass: 'table-col d-flex d-sm-table-cell', tdClass: `${tableDataClass}`,
}, },
{ {
key: 'lastSeen', key: 'lastSeen',
label: __('Last seen'), label: __('Last seen'),
thClass: '', thClass: '',
tdClass: 'table-col d-flex d-sm-table-cell', tdClass: `${tableDataClass}`,
}, },
{ {
key: 'ignore', key: 'ignore',
label: '', label: '',
thClass: 'w-3rem', thClass: 'w-3rem',
tdClass: 'table-col d-flex pl-0 d-sm-table-cell', tdClass: `${tableDataClass} pl-0`,
}, },
{ {
key: 'resolved', key: 'resolved',
label: '', label: '',
thClass: 'w-3rem', thClass: 'w-3rem',
tdClass: 'table-col d-flex pl-0 d-sm-table-cell', tdClass: `${tableDataClass} pl-0`,
}, },
{ {
key: 'details', key: 'details',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment