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

18 lines
324 B
JavaScript
Raw Normal View History

2020-06-23 00:09:42 +05:30
import { __ } from '~/locale';
export const IssuableStatus = {
Open: 'opened',
Closed: 'closed',
};
export const IssuableStatusText = {
[IssuableStatus.Open]: __('Open'),
[IssuableStatus.Closed]: __('Closed'),
};
export const IssuableType = {
Issue: 'issue',
Epic: 'epic',
MergeRequest: 'merge_request',
};