14 lines
724 B
TypeScript
14 lines
724 B
TypeScript
import { DataManagementPlanEditorComponent } from './editor/dmp-editor.component';
|
|
import { DataManagementPlanListingComponent } from './listing/dmp-listing.component';
|
|
import { DatasetListingComponent } from '../datasets/listing/dataset-listing.component';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
const routes: Routes = [
|
|
{ path: '', component: DataManagementPlanListingComponent },
|
|
{ path: 'edit/:id', component: DataManagementPlanEditorComponent },
|
|
{ path: 'new', component: DataManagementPlanEditorComponent },
|
|
{ path: 'new_version/:id', component: DataManagementPlanEditorComponent, data: { clone: "clone" } },
|
|
];
|
|
|
|
export const DataManagementPlanRoutes = RouterModule.forChild(routes);
|