aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-09-16 09:49:11 +0200
committerShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-09-16 15:07:37 +0200
commit06537055eb0b9bfb2a6f23a54630cd7902c70525 (patch)
tree3d2ac3165730c4af116619a52f1d25bffaad751b /cds-ui/designer-client/src/app/app-routing.module.ts
parent9c1c061c8e80f41f3838dfaf487b54af36ad8071 (diff)
disable componetCanDeactivate with some functionality
Issue-ID: CCSDK-2739 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: Ic3f3905b062f42365c8d7eed22d0ee9504906ee5
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.ts16
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 {