Преглед изворни кода

Merge branch 'hotfix/2.4.1'

Olivier Massot пре 1 година
родитељ
комит
a334943f86
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      components/Layout/AlertBar/RegistrationStatus.vue
  2. 1 1
      config/abilities/pages/rewards.yaml

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

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

+ 1 - 1
config/abilities/pages/rewards.yaml

@@ -18,7 +18,7 @@ access_rewards_command_page:
         function: accessHasAnyRoleAbility,
         function: accessHasAnyRoleAbility,
         parameters: [{ action: 'read', subject: 'accessreward' }],
         parameters: [{ action: 'read', subject: 'accessreward' }],
       }
       }
-    -
+
 rewards_list_page:
 rewards_list_page:
   action: 'display'
   action: 'display'
   conditions:
   conditions: