Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « issue_show « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d73cc8cf0077a63651c95b04ce7479164c8e353f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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',
};