Change order in menu. Delete deleted properties

This commit is contained in:
Konstantinos Triantafyllou 2022-08-04 18:03:33 +03:00
parent 2421642df8
commit 232ffc7380
7 changed files with 6 additions and 13 deletions

View File

@ -128,8 +128,7 @@ export class AppComponent {
logoSmallUrl: this.logoPath + 'small.svg', logoSmallUrl: this.logoPath + 'small.svg',
position: 'left', position: 'left',
badge: true, badge: true,
menuPosition: 'center', menuPosition: 'center'
stickyAnimation: true
}; };
this.buildMenu(); this.buildMenu();
this.reset(); this.reset();
@ -153,14 +152,14 @@ export class AppComponent {
public buildMenu() { public buildMenu() {
this.menuItems = []; this.menuItems = [];
this.menuItems.push({ this.menuItems.push({
rootItem: new MenuItem("about", "About", "", "/about", false, [], null, {}), rootItem: new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS, "", "/browse", false, [], null, {}),
items: [] items: []
}); });
if(this.properties.environment !== 'production') { if(this.properties.environment !== 'production') {
this.resourcesService.setResourcesDeprecated(this.menuItems); this.resourcesService.setResourcesDeprecated(this.menuItems);
} }
this.menuItems.push({ this.menuItems.push({
rootItem: new MenuItem("stakeholders", "Browse " + this.stakeholderEntities.STAKEHOLDERS, "", "/browse", false, [], null, {}), rootItem: new MenuItem("about", "About", "", "/about", false, [], null, {}),
items: [] items: []
}); });
this.bottomMenuItems = [ this.bottomMenuItems = [

@ -1 +1 @@
Subproject commit d55b1819de86b435ad5533949720cba322ae089a Subproject commit 3f7078db16daa34bc8e34a04d760e1bb0b199d97

@ -1 +1 @@
Subproject commit c645362896b10ae00563f38337aa0011c640cb20 Subproject commit adf1b6d5f5e8fb1568615b0fc596a0f39beab3e6

@ -1 +1 @@
Subproject commit ff0dadc5dd278b9b6fcc86502541c1f9dc39945c Subproject commit eb5739ab8271aa71c8e58998ab88c61878f8788d

View File

@ -74,9 +74,7 @@ export let properties: EnvProperties = {
searchLinkToOrganizations: "/search/find/organizations", searchLinkToOrganizations: "/search/find/organizations",
searchLinkToCompatibleDataProviders: "/search/content-providers", searchLinkToCompatibleDataProviders: "/search/content-providers",
searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", searchLinkToEntityRegistriesDataProviders: "/search/entity-registries",
searchLinkToEntityRegistriesDataProvidersTable: "/search/entity-registries-table",
searchLinkToJournals: "/search/journals", searchLinkToJournals: "/search/journals",
searchLinkToJournalsTable: "/search/journals-table",
searchLinkToAdvancedResults: "/search/advanced/research-outcomes", searchLinkToAdvancedResults: "/search/advanced/research-outcomes",
searchLinkToAdvancedProjects: "/search/advanced/projects", searchLinkToAdvancedProjects: "/search/advanced/projects",
searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders",

View File

@ -74,9 +74,7 @@ export let properties: EnvProperties = {
searchLinkToOrganizations: "/search/find/organizations", searchLinkToOrganizations: "/search/find/organizations",
searchLinkToCompatibleDataProviders: "/search/content-providers", searchLinkToCompatibleDataProviders: "/search/content-providers",
searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", searchLinkToEntityRegistriesDataProviders: "/search/entity-registries",
searchLinkToEntityRegistriesDataProvidersTable: "/search/entity-registries-table",
searchLinkToJournals: "/search/journals", searchLinkToJournals: "/search/journals",
searchLinkToJournalsTable: "/search/journals-table",
searchLinkToAdvancedResults: "/search/advanced/research-outcomes", searchLinkToAdvancedResults: "/search/advanced/research-outcomes",
searchLinkToAdvancedProjects: "/search/advanced/projects", searchLinkToAdvancedProjects: "/search/advanced/projects",
searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders",

View File

@ -74,9 +74,7 @@ export let properties: EnvProperties = {
searchLinkToOrganizations: "/search/find/organizations", searchLinkToOrganizations: "/search/find/organizations",
searchLinkToCompatibleDataProviders: "/search/content-providers", searchLinkToCompatibleDataProviders: "/search/content-providers",
searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", searchLinkToEntityRegistriesDataProviders: "/search/entity-registries",
searchLinkToEntityRegistriesDataProvidersTable: "/search/entity-registries-table",
searchLinkToJournals: "/search/journals", searchLinkToJournals: "/search/journals",
searchLinkToJournalsTable: "/search/journals-table",
searchLinkToAdvancedResults: "/search/advanced/research-outcomes", searchLinkToAdvancedResults: "/search/advanced/research-outcomes",
searchLinkToAdvancedProjects: "/search/advanced/projects", searchLinkToAdvancedProjects: "/search/advanced/projects",
searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders",