mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
refactor(data): adjust data detail component
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 StApps
|
||||
* Copyright (C) 2018, 2019 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
@@ -19,16 +19,15 @@ import {DataListComponent} from './list/data-list.component';
|
||||
|
||||
const dataRoutes: Routes = [
|
||||
{path: 'search', component: DataListComponent},
|
||||
{path: 'data-detail/:uid', component: DataDetailComponent}
|
||||
{path: 'data-detail/:uid', component: DataDetailComponent},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild(dataRoutes)
|
||||
],
|
||||
// tslint:disable-next-line:object-literal-sort-keys
|
||||
exports: [
|
||||
RouterModule
|
||||
]
|
||||
RouterModule,
|
||||
],
|
||||
imports: [
|
||||
RouterModule.forChild(dataRoutes),
|
||||
],
|
||||
})
|
||||
export class DataRoutingModule {}
|
||||
|
||||
Reference in New Issue
Block a user