gitlab-org--gitlab-foss/app/assets/javascripts/performance_bar/constants.js

12 lines
299 B
JavaScript
Raw Normal View History

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'),
};