|
|
@@ -143,6 +143,7 @@ export const useOrganizationProfileStore = defineStore('organizationProfile', ()
|
|
|
})
|
|
|
|
|
|
const hasModule = (module: string): boolean => {
|
|
|
+ console.log(modules)
|
|
|
return modules.value && modules.value.includes(module)
|
|
|
}
|
|
|
|
|
|
@@ -154,11 +155,11 @@ export const useOrganizationProfileStore = defineStore('organizationProfile', ()
|
|
|
product.value = profile.product
|
|
|
currentActivityYear.value = profile.currentYear
|
|
|
website.value = profile.website
|
|
|
- modules.value = profile.modules
|
|
|
+ modules.value = Array.from(profile.modules)
|
|
|
hasChildren.value = profile.hasChildren
|
|
|
legalStatus.value = profile.legalStatus
|
|
|
showAdherentList.value = profile.showAdherentList
|
|
|
- networks.value = profile.networks
|
|
|
+ networks.value = Array.from(profile.networks)
|
|
|
|
|
|
_.each(profile.parents, (parent) => {
|
|
|
parents.value.push({
|