mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-23 01:25:39 -05:00
Some work on new UI
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import { WeatherComponent } from './weather/weather.component';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { LaundryComponent } from './laundry/laundry.component';
|
||||
import { WeatherChartsComponent } from './weather/charts/weather-charts.component';
|
||||
@@ -13,22 +12,11 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'weather',
|
||||
component: WeatherComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
redirectTo: 'current',
|
||||
pathMatch: 'full'
|
||||
},
|
||||
{
|
||||
path: 'current',
|
||||
component: WeatherCurrentComponent
|
||||
},
|
||||
{
|
||||
path: 'charts',
|
||||
component: WeatherChartsComponent
|
||||
}
|
||||
]
|
||||
component: WeatherCurrentComponent
|
||||
},
|
||||
{
|
||||
path: 'weather-charts/:type',
|
||||
component: WeatherChartsComponent
|
||||
},
|
||||
{
|
||||
path: 'laundry',
|
||||
|
||||
Reference in New Issue
Block a user