debian-mirror-gitlab/app/assets/javascripts/performance_bar/constants.js
2022-05-07 20:08:51 +05:30

11 lines
299 B
JavaScript

import { s__ } from '~/locale';
export const sortOrders = {
DURATION: 'duration',
CHRONOLOGICAL: 'chronological',
};
export const sortOrderOptions = {
[sortOrders.DURATION]: s__('PerformanceBar|Sort by duration'),
[sortOrders.CHRONOLOGICAL]: s__('PerformanceBar|Sort chronologically'),
};