Browse Source

fix registration status alert bar on switch mode

Olivier Massot 1 năm trước cách đây
mục cha
commit
3fa46bf906
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      components/Layout/AlertBar/RegistrationStatus.vue

+ 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 = {