|
|
@@ -28,15 +28,10 @@ class WebsiteMenu extends BaseMenu implements Menu {
|
|
|
* @return {ItemMenu | null}
|
|
|
*/
|
|
|
getMenu (): ItemMenu | null {
|
|
|
- const children: ItemsMenu = []
|
|
|
-
|
|
|
if (!this.$store.state.profile.organization.website && this.$store.state.profile.access.isAdminAccess) {
|
|
|
- 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 this.constructMenu('advanced_modification', 'fa-globe-europe', this.getWebsite(this.$store.state.profile.organization) + '/typo3', false, undefined, true)
|
|
|
}
|
|
|
-
|
|
|
- return children.length > 0 ? this.constructMenu('website','fa-globe-europe', undefined, undefined, children) : null
|
|
|
+ return null
|
|
|
}
|
|
|
|
|
|
/**
|