argos/dmp-frontend/src/app/ui/explore-dataset/explore-dataset.routing.ts

28 lines
692 B
TypeScript
Raw Normal View History

2019-01-18 18:03:45 +01:00
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ExploreDatasetListingComponent } from './explore-dataset-listing.component';
2020-07-03 15:58:13 +02:00
import { DatasetOverviewComponent } from '../dataset/overview/dataset-overview.component';
2019-01-18 18:03:45 +01:00
const routes: Routes = [
{
path: '',
component: ExploreDatasetListingComponent,
data: {
breadcrumb: true
},
2020-07-03 15:58:13 +02:00
},
{
path: 'overview/:publicId',
component: DatasetOverviewComponent,
data: {
breadcrumb: true,
title: 'GENERAL.TITLES.EXPLORE-PLANS-OVERVIEW'
},
2019-01-18 18:03:45 +01:00
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class ExploreDatasetRoutingModule { }