diff --git a/frontend/app/analysis/index/controller.js b/frontend/app/analysis/index/controller.js index 5252a8cb8..d5e955111 100644 --- a/frontend/app/analysis/index/controller.js +++ b/frontend/app/analysis/index/controller.js @@ -86,11 +86,11 @@ export default class AnalysisController extends QPController { @tracked comment; get billingTypes() { - return this.store.findAll("billing-type"); + return this.store.peekAll("billing-type"); } get costCenters() { - return this.store.findAll("cost-center"); + return this.store.peekAll("cost-center"); } get selectedCustomer() { diff --git a/frontend/app/statistics/controller.js b/frontend/app/statistics/controller.js index f70de84ef..ad0ebd34e 100644 --- a/frontend/app/statistics/controller.js +++ b/frontend/app/statistics/controller.js @@ -73,11 +73,11 @@ export default class StatisticsController extends QPController { } get billingTypes() { - return this.store.findAll("billing-type"); + return this.store.peekAll("billing-type"); } get costCenters() { - return this.store.findAll("cost-center"); + return this.store.peekAll("cost-center"); } get selectedCustomer() {