debian-mirror-gitlab/app/assets/javascripts/issuable_bulk_update_sidebar/constants.js

18 lines
309 B
JavaScript
Raw Normal View History

2021-09-30 23:02:18 +05:30
import { __ } from '~/locale';
export const ISSUE_STATUS_MODIFIERS = {
REOPEN: 'reopen',
CLOSE: 'close',
};
export const ISSUE_STATUS_SELECT_OPTIONS = [
{
value: ISSUE_STATUS_MODIFIERS.REOPEN,
text: __('Open'),
},
{
value: ISSUE_STATUS_MODIFIERS.CLOSE,
text: __('Closed'),
},
];