diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-09-16 14:42:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-16 14:42:45 +0000 |
commit | 6c77ea314cb8cdac8f602cea608ae06108ab6062 (patch) | |
tree | bd29abaf3d6143a869ff8eac35716513dd2a4344 /cds-ui/designer-client/src/app/app-routing.module.ts | |
parent | 07090b2d199108935a028afa3bb43d3bf5190723 (diff) | |
parent | 06537055eb0b9bfb2a6f23a54630cd7902c70525 (diff) |
Merge "disable componetCanDeactivate with some functionality"
Diffstat (limited to 'cds-ui/designer-client/src/app/app-routing.module.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/app-routing.module.ts | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/cds-ui/designer-client/src/app/app-routing.module.ts b/cds-ui/designer-client/src/app/app-routing.module.ts index 2610dc59f..d0a8e2a28 100644 --- a/cds-ui/designer-client/src/app/app-routing.module.ts +++ b/cds-ui/designer-client/src/app/app-routing.module.ts @@ -20,13 +20,17 @@ limitations under the License. */ import {NgModule} from '@angular/core'; -import {Routes, RouterModule} from '@angular/router'; +import {RouterModule, Routes} from '@angular/router'; const routes: Routes = [ - {path: 'packages', - loadChildren: './modules/feature-modules/packages/packages.module#PackagesModule'}, - {path: 'resource-dictionary', - loadChildren: './modules/feature-modules/resource-dictionary/resource-dictionary.module#ResourceDictionaryModule'}, + { + path: 'packages', + loadChildren: './modules/feature-modules/packages/packages.module#PackagesModule' + }, + { + path: 'resource-dictionary', + loadChildren: './modules/feature-modules/resource-dictionary/resource-dictionary.module#ResourceDictionaryModule' + }, // { path: '', component: MainAppComponent }, { path: '', @@ -36,7 +40,7 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forRoot(routes)], + imports: [RouterModule.forRoot(routes, {useHash: true})], exports: [RouterModule] }) export class AppRoutingModule { |