update submodules to v14, add .angular folder to gitignore and after-build-clean, add pathMatch: 'full' to routing configuration

angular-14
Alex Martzios 2 years ago
parent 907b4e9512
commit b220fe81c3

@ -337,5 +337,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}

@ -19,7 +19,7 @@
"build:ssr-beta": "npm run build-beta && ng run explore:server:beta",
"build:ssr-prod": "npm run build-prod && ng run explore:server:production",
"prerender": "ng run explore:prerender",
"after-build-clean": "rm -rf dist/explore/browser/assets/common-assets/.git/ src/app/openaireLibrary/.git node_modules src/assets/common-assets/.git/ .git .idea"
"after-build-clean": "rm -rf dist/explore/browser/assets/common-assets/.git/ src/app/openaireLibrary/.git node_modules .angular src/assets/common-assets/.git/ .git .idea"
},
"private": true,
"dependencies": {

@ -78,14 +78,14 @@ const routes: Routes = [
path: 'search/content-providers',
loadChildren: () => import('./searchPages/dataProviders/compatibleDataProviders.module').then(m => m.LibCompatibleDataProvidersModule)
},
{path: 'search/content-providers-table', redirectTo: 'search/content-providers'},
{path: 'search/content-providers-table', redirectTo: 'search/content-providers', pathMatch: 'full'},
{
path: 'search/entity-registries',
loadChildren: () => import('./searchPages/dataProviders/entityRegistries.module').then(m => m.LibEntityRegistriesModule)
},
{path: 'search/entity-registries-table', redirectTo: 'search/entity-registries'},
{path: 'search/entity-registries-table', redirectTo: 'search/entity-registries', pathMatch: 'full'},
{path: 'search/journals', loadChildren: () => import('./searchPages/dataProviders/journals.module').then(m => m.LibJournalsModule)},
{path: 'search/journals-table', redirectTo: 'search/journals'},
{path: 'search/journals-table', redirectTo: 'search/journals', pathMatch: 'full'},
// Deposit Pages
{path: 'participate/deposit-datasets', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'},
{path: 'participate/deposit-datasets-result', redirectTo: 'participate/deposit/learn-how', pathMatch: 'full'},

@ -1 +1 @@
Subproject commit db7f34a21d6d4b4cdf71049fd217225f63540d3b
Subproject commit 105e5066f28497fcd0d51c31e3f30df3d0043ccf

@ -1 +1 @@
Subproject commit b3b48a9fe73282d7e80dc81b8fba58ab23c0cde3
Subproject commit 85ad768a46df5e59843fa5d97780ab754d0429a0
Loading…
Cancel
Save