UX: disables all time col in activity metrics new dashboard

This commit also makes it work for old dashboard.
This commit is contained in:
Joffrey JAFFEUX
2018-05-14 16:04:54 +02:00
committed by GitHub
parent c67c2dc638
commit 94b1a8c841
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
export default Ember.Component.extend({
allTime: true,
tagName: 'tr',
reverseColors: Ember.computed.match('report.type', /^(time_to_first_response|topics_with_no_response)$/),
classNameBindings: ['reverseColors']