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