From 7cceb9b159b9851975d721f617a73445a88e37f0 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Wed, 31 Jul 2019 15:16:44 +0300 Subject: [PATCH] feature(ng-template): add progress-bar to app component add ** route --- templates/app/angular/src/app/app-routing.module.ts | 1 + templates/app/angular/src/app/app.component.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/app/angular/src/app/app-routing.module.ts b/templates/app/angular/src/app/app-routing.module.ts index ddd76272f4..a495abb761 100644 --- a/templates/app/angular/src/app/app-routing.module.ts +++ b/templates/app/angular/src/app/app-routing.module.ts @@ -32,6 +32,7 @@ const routes: Routes = [ import('./lazy-libs/tenant-management-wrapper.module').then(m => m.TenantManagementWrapperModule), data: { routes: TENANT_MANAGEMENT_ROUTES }, }, + { path: '**', redirectTo: '/' }, ]; @NgModule({ diff --git a/templates/app/angular/src/app/app.component.ts b/templates/app/angular/src/app/app.component.ts index bfdb6e22b8..6e89cd41a5 100644 --- a/templates/app/angular/src/app/app.component.ts +++ b/templates/app/angular/src/app/app.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: ` + `, })