From e3aa7f72982eba239d9a1f8ea9dfb41e395e2bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Latzarus?= Date: Mon, 13 May 2024 13:42:32 +0200 Subject: [PATCH] fix(client): load current user before locations --- client/app/routes/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/routes/application.ts b/client/app/routes/application.ts index 0ca65b6..9a88eac 100644 --- a/client/app/routes/application.ts +++ b/client/app/routes/application.ts @@ -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(); } }