Przeglądaj źródła

fix registration status alert bar on switch mode

Olivier Massot 1 rok temu
rodzic
commit
3fa46bf906

+ 1 - 1
components/Layout/AlertBar/RegistrationStatus.vue

@@ -24,7 +24,7 @@ const accessProfile = useAccessProfileStore()
 
 const { data: registrationStatus, pending } = fetch(
   RegistrationStatus,
-  accessProfile.id ?? 0,
+  accessProfile.currentAccessId ?? 0,
 )
 
 const messagesByStatus = {