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

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

18 lines
402 B
JavaScript
Raw Normal View History

2021-04-29 21:17:54 +05:30
import { s__ } from '~/locale';
export const sortOrders = {
DURATION: 'duration',
CHRONOLOGICAL: 'chronological',
};
2022-05-07 20:08:51 +05:30
export const sortOrderOptions = {
2023-03-04 22:38:38 +05:30
[sortOrders.DURATION]: {
value: sortOrders.DURATION,
text: s__('PerformanceBar|Sort by duration'),
},
[sortOrders.CHRONOLOGICAL]: {
value: sortOrders.CHRONOLOGICAL,
text: s__('PerformanceBar|Sort chronologically'),
},
2022-05-07 20:08:51 +05:30
};