--- a/common/corpus-common-addon/addon/components/doc-created.js Thu Nov 24 19:08:36 2016 +0100
+++ b/common/corpus-common-addon/addon/components/doc-created.js Sun Nov 27 15:12:30 2016 +0100
@@ -26,14 +26,11 @@
return Ember.String.htmlSafe(date.getDate() + '-' + (date.getMonth() + 1) + '-' + date.getFullYear());
},
shortDateDate: Ember.computed('value', function () {
- console.log('SHORT DATE', this.get('value'));
return this.formatDate(this.get('value'));
}),
periodMatches: Ember.computed('value', function () {
let dateStr = this.get('value');
- console.log('PERIOD MATCH', dateStr);
-
if (!dateStr) {
return null;
}
@@ -66,7 +63,7 @@
}),
isPeriod: Ember.computed('periodMatches', function () {
const periodMatches = this.get('periodMatches');
- console.log('ISPERIOD MATCH', periodMatches, Boolean(periodMatches));
+
return Boolean(periodMatches);
}),
shortDateStart: Ember.computed('periodMatches', function () {