debian-mirror-gitlab/app/assets/javascripts/sidebar/components/incidents/utils.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
178 B
JavaScript
Raw Normal View History

2022-05-07 20:08:51 +05:30
import { s__ } from '~/locale';
import { STATUS_LABELS } from './constants';
export const getStatusLabel = (status) => STATUS_LABELS[status] ?? s__('IncidentManagement|None');