6a421f8f6b
Seperates the previously large motion module in various smaller and very small feature modules. Motion Detail, and all direct dependancies to Motion Detail is now an own module. This significantly increases the response time of openslides 3
33 lines
1020 B
TypeScript
33 lines
1020 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { ProjectorListComponent } from './components/projector-list/projector-list.component';
|
|
import { ProjectorDetailComponent } from './components/projector-detail/projector-detail.component';
|
|
import { CountdownListComponent } from './components/countdown-list/countdown-list.component';
|
|
import { ProjectorMessageListComponent } from './components/projector-message-list/projector-message-list.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: ProjectorListComponent,
|
|
pathMatch: 'full'
|
|
},
|
|
{
|
|
path: 'detail/:id',
|
|
component: ProjectorDetailComponent
|
|
},
|
|
{
|
|
path: 'countdowns',
|
|
component: CountdownListComponent
|
|
},
|
|
{
|
|
path: 'messages',
|
|
component: ProjectorMessageListComponent
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class ProjectorRoutingModule {}
|