Commit f11d2282 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Apply review feedback

parent 187081d4
......@@ -73,8 +73,7 @@ export default {
return this.includeSelectedDate ? dayDifference + OFFSET_DATE_BY_ONE : dayDifference;
},
effectiveMaxDateRange() {
const { includeSelectedDate, maxDateRange } = this;
return includeSelectedDate ? maxDateRange - OFFSET_DATE_BY_ONE : maxDateRange;
return this.includeSelectedDate ? this.maxDateRange - OFFSET_DATE_BY_ONE : this.maxDateRange;
},
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment