|
@@ -11,7 +11,7 @@ Contient les différentes barres d'alertes qui s'affichent dans certains cas
|
|
|
<LayoutAlertBarSwitchUser />
|
|
<LayoutAlertBarSwitchUser />
|
|
|
|
|
|
|
|
<client-only>
|
|
<client-only>
|
|
|
- <LayoutAlertBarCotisation v-if="organizationProfile.isCmf && canManageCotisation" />
|
|
|
|
|
|
|
+ <LayoutAlertBarCotisation v-if="organizationProfile.isCmf && ability.can('manage', 'cotisation')" />
|
|
|
</client-only>
|
|
</client-only>
|
|
|
|
|
|
|
|
<LayoutAlertBarSwitchYear />
|
|
<LayoutAlertBarSwitchYear />
|
|
@@ -25,6 +25,4 @@ Contient les différentes barres d'alertes qui s'affichent dans certains cas
|
|
|
|
|
|
|
|
const organizationProfile = useOrganizationProfileStore()
|
|
const organizationProfile = useOrganizationProfileStore()
|
|
|
const ability = useAbility()
|
|
const ability = useAbility()
|
|
|
-
|
|
|
|
|
- const canManageCotisation = ability.can('manage', 'cotisation')
|
|
|
|
|
</script>
|
|
</script>
|