- add dataset-detail.component
- add named router links
This commit is contained in:
parent
81153061ac
commit
480362e5b7
8 changed files with 133 additions and 8 deletions
|
@ -159,6 +159,16 @@ class DatasetService {
|
|||
// this.messageService.add('HeroService: fetched heroes');
|
||||
return documents;
|
||||
}
|
||||
|
||||
public getDataset(id: number): Observable<DbDataset> {
|
||||
const host = "https:" + VUE_APP_PORTAL;
|
||||
const path = "/api/dataset/" + id;
|
||||
const base = host + path;
|
||||
|
||||
const dataset = api.get<DbDataset>(base);
|
||||
// this.messageService.add('HeroService: fetched heroes');
|
||||
return dataset;
|
||||
}
|
||||
}
|
||||
|
||||
export default new DatasetService();
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue