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

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