|
|
@@ -31,7 +31,7 @@ class MyAccessesMenu extends BaseMenu implements Menu {
|
|
|
const children: ItemsMenu = []
|
|
|
|
|
|
_.each(this.$store.state.profile.access.multiAccesses, (access) => {
|
|
|
- children.push(this.constructMenu(access.organizationName, undefined, '/switch/' + access.organizationId, true))
|
|
|
+ children.push(this.constructMenu(access.name, undefined, '/switch/' + access.id, true))
|
|
|
})
|
|
|
|
|
|
return children.length > 0 ? this.constructMenu('multiAccesses', {name: 'fa-building'}, undefined, undefined, children) : null
|