|
@@ -31,11 +31,12 @@ class WebsiteMenu extends BaseMenu implements Menu {
|
|
|
const children: ItemsMenu = []
|
|
const children: ItemsMenu = []
|
|
|
|
|
|
|
|
if (!this.$store.state.profile.organization.website && this.$store.state.profile.access.isAdminAccess) {
|
|
if (!this.$store.state.profile.organization.website && this.$store.state.profile.access.isAdminAccess) {
|
|
|
- children.push(this.constructMenu('fa-globe-europe', 'simple_modification', this.getWebsite(this.$store.state.profile.organization), false, undefined, true))
|
|
|
|
|
- children.push(this.constructMenu('fa-globe-europe', 'advanced_modification', this.getWebsite(this.$store.state.profile.organization) + '/typo3', false, undefined, true))
|
|
|
|
|
|
|
+ children.push(this.constructMenu(this.$store.state.profile.organization.name, undefined, this.getWebsite(this.$store.state.profile.organization), false, undefined, true))
|
|
|
|
|
+ children.push(this.constructMenu('simple_modification', 'fa-globe-europe', this.getWebsite(this.$store.state.profile.organization), false, undefined, true))
|
|
|
|
|
+ children.push(this.constructMenu('advanced_modification', 'fa-globe-europe', this.getWebsite(this.$store.state.profile.organization) + '/typo3', false, undefined, true))
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- return children.length > 0 ? this.constructMenu('fa-globe-europe', 'website', undefined, undefined, children) : null
|
|
|
|
|
|
|
+ return children.length > 0 ? this.constructMenu('website','fa-globe-europe', undefined, undefined, children) : null
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -48,7 +49,9 @@ class WebsiteMenu extends BaseMenu implements Menu {
|
|
|
children.push(this.constructMenu(this.$store.state.profile.organization.name, undefined, this.getWebsite(this.$store.state.profile.organization), false, undefined, true))
|
|
children.push(this.constructMenu(this.$store.state.profile.organization.name, undefined, this.getWebsite(this.$store.state.profile.organization), false, undefined, true))
|
|
|
|
|
|
|
|
_.each(this.$store.state.profile.organization.parents, (parent) => {
|
|
_.each(this.$store.state.profile.organization.parents, (parent) => {
|
|
|
- children.push(this.constructMenu(parent.name, undefined, this.getWebsite(parent), false, undefined, true))
|
|
|
|
|
|
|
+ if(parent.id != process.env.OPENTALENT_MANAGER_ID){
|
|
|
|
|
+ children.push(this.constructMenu(parent.name, undefined, this.getWebsite(parent), false, undefined, true))
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
return children.length > 0 ? this.constructMenu('website', 'fa-globe-europe', undefined, undefined, children) : null
|
|
return children.length > 0 ? this.constructMenu('website', 'fa-globe-europe', undefined, undefined, children) : null
|