--- a/cms/app-client/app/components/visu-chrono-year.js Fri Jun 09 15:22:02 2017 +0200
+++ b/cms/app-client/app/components/visu-chrono-year.js Sat Jun 10 08:33:03 2017 +0200
@@ -1,5 +1,5 @@
import Ember from 'ember';
-import _ from 'lodash/lodash';
+import _ from 'lodash';
export default Ember.Component.extend({
@@ -19,7 +19,7 @@
}),
isHighlighted: Ember.computed('filter.dateList.[]', function() {
- return _.contains(this.get('filter.dateList'), this.get('year'));
+ return _.includes(this.get('filter.dateList'), this.get('year'));
}),
isDark: Ember.computed('backgroundColor', 'isDisabled', function() {
let backgroundColor = this.get('backgroundColor');