Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: attendances added wrong day after page refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
MitanOmar committed Mar 24, 2023
1 parent 25bb3f6 commit 8dfe303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/index/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default class IndexRoute extends Route.extend(RouteAutostartTourMixin) {
setupController(controller, model, ...args) {
super.setupController(controller, model, ...args);

controller.date = model;
controller.set("user", this.modelFor("protected"));
controller.setCenter.perform({ moment: model });

Expand Down

0 comments on commit 8dfe303

Please sign in to comment.