We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb0d1c commit 7aec092Copy full SHA for 7aec092
awesome_dashboard/static/src/dashboard.js
@@ -12,12 +12,12 @@ class AwesomeDashboard extends Component {
12
13
setup(){
14
this.action = useService("action");
15
- this.statistics = useService("awesome_dashboard.statistics");
+ this.statisticsService = useService("awesome_dashboard.statistics");
16
this.display = {
17
controlPanel: {},
18
};
19
onWillStart(async() => {
20
- this.statistics = await this.statistics.getStatistics();
+ this.statistics = await this.statisticsService.getStatistics();
21
})
22
}
23
0 commit comments