debian-mirror-gitlab/app/assets/javascripts/sidebar/components/incidents/utils.js
2022-05-07 20:08:51 +05:30

5 lines
178 B
JavaScript

import { s__ } from '~/locale';
import { STATUS_LABELS } from './constants';
export const getStatusLabel = (status) => STATUS_LABELS[status] ?? s__('IncidentManagement|None');