summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/performance_bar/constants.js
blob: 9659383edd97f261636d72fbca71536dd55db98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'),
  },
];