refactor(data): adjust data detail component

This commit is contained in:
Jovan Krunić
2019-02-12 14:09:09 +01:00
parent 017fc67765
commit 8c3c2810e5
9 changed files with 134 additions and 50 deletions

View File

@@ -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 {}