diff --git a/ui/src/stores/modules/user.ts b/ui/src/stores/modules/user.ts index 273c1af3d..1f9bd14de 100644 --- a/ui/src/stores/modules/user.ts +++ b/ui/src/stores/modules/user.ts @@ -81,7 +81,7 @@ const useUserStore = defineStore({ async profile() { return UserApi.profile().then((ok) => { this.userInfo = ok.data - this.asyncGetProfile() + return this.asyncGetProfile() }) },