DEV: reduces memory footprint of tests - step 1 (#7591)

This commit is contained in:
Joffrey JAFFEUX
2019-05-28 12:15:12 +02:00
committed by GitHub
parent 07b80d491b
commit 6decdfce5c
41 changed files with 655 additions and 430 deletions

View File

@ -3,10 +3,13 @@ import computed from "ember-addons/ember-computed-decorators";
export default Ember.Mixin.create({
queryParams: ["period"],
period: "monthly",
availablePeriods: ["yearly", "quarterly", "monthly", "weekly"],
init() {
this._super(...arguments);
this.availablePeriods = ["yearly", "quarterly", "monthly", "weekly"];
},
@computed("period")
startDate(period) {