Use shorter names for relative time options

pull/10616/head
Alex P 2018-07-12 16:32:05 -07:00
parent e9da93b041
commit 0eaaf6b2ca
2 changed files with 8 additions and 8 deletions

View File

@ -107,8 +107,8 @@ class TimeRangeDropdown extends Component<Props, State> {
const absoluteTimeRange = !!this.props.customTime
return classnames('dropdown', {
'dropdown-290': absoluteTimeRange,
'dropdown-120': !absoluteTimeRange,
'dropdown-180': absoluteTimeRange,
'dropdown-110': !absoluteTimeRange,
open: isOpen,
})
}

View File

@ -1,26 +1,26 @@
export default [
{
text: '1 minute ago',
text: '1m ago',
value: 60,
},
{
text: '5 minute ago',
text: '5m ago',
value: 300,
},
{
text: '10 minute ago',
text: '10m ago',
value: 600,
},
{
text: '30 minute ago',
text: '30m ago',
value: 1800,
},
{
text: '1 hour ago',
text: '1h ago',
value: 3600,
},
{
text: '3 hour ago',
text: '3h ago',
value: 10800,
},
]