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

18 lines
351 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',
};
export const sortOrderOptions = [
{
value: sortOrders.DURATION,
text: s__('PerformanceBar|Sort by duration'),
},
{
value: sortOrders.CHRONOLOGICAL,
text: s__('PerformanceBar|Sort chronologically'),
},
];