Skip to content

Commit 7aec092

Browse files
committed
fix
1 parent 9bb0d1c commit 7aec092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

awesome_dashboard/static/src/dashboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ class AwesomeDashboard extends Component {
1212

1313
setup(){
1414
this.action = useService("action");
15-
this.statistics = useService("awesome_dashboard.statistics");
15+
this.statisticsService = useService("awesome_dashboard.statistics");
1616
this.display = {
1717
controlPanel: {},
1818
};
1919
onWillStart(async() => {
20-
this.statistics = await this.statistics.getStatistics();
20+
this.statistics = await this.statisticsService.getStatistics();
2121
})
2222
}
2323

0 commit comments

Comments
 (0)