Skip to content

Commit

Permalink
fix(client): load current user before locations
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlatz committed May 13, 2024
1 parent 4485cd1 commit e3aa7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/routes/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class ApplicationRoute extends Route {
@service declare currentUser: CurrentUserService;

async model() {
await this.locations.load();
await this.currentUser.load();
await this.locations.load();
}
}

0 comments on commit e3aa7f7

Please sign in to comment.