diff --git a/AstuteClient2/src/app/app-box/app-box.component.ts b/AstuteClient2/src/app/app-box/app-box.component.ts index db65c33..6a1aa0f 100644 --- a/AstuteClient2/src/app/app-box/app-box.component.ts +++ b/AstuteClient2/src/app/app-box/app-box.component.ts @@ -22,6 +22,7 @@ export class AppBoxComponent implements OnInit { return this.color; } else { const clr = this.padStart(Math.floor((Math.random() * 16777215)).toString(16), 6, '0'); + console.log (clr); return '#' + clr; } } diff --git a/AstuteClient2/src/app/app-routing.module.ts b/AstuteClient2/src/app/app-routing.module.ts index b24699f..41f605c 100644 --- a/AstuteClient2/src/app/app-routing.module.ts +++ b/AstuteClient2/src/app/app-routing.module.ts @@ -11,6 +11,7 @@ import {LoginComponent} from './login/login.component'; const routes: Routes = [ { path: '', redirectTo: 'login', pathMatch: 'full'}, + { path: 'home', redirectTo: 'homepage', pathMatch: 'full'}, { path: 'homepage', component: HomepageComponent }, { path: 'customer', component: CustomerComponent }, { path: 'sales-order', component: SalesOrderComponent }, diff --git a/AstuteClient2/src/app/customer/customer.component.html b/AstuteClient2/src/app/customer/customer.component.html index 712e442..bbe01d5 100644 --- a/AstuteClient2/src/app/customer/customer.component.html +++ b/AstuteClient2/src/app/customer/customer.component.html @@ -125,7 +125,7 @@