diff --git a/src/models/dataset.ts b/src/models/dataset.ts index a89498b..15a49fb 100644 --- a/src/models/dataset.ts +++ b/src/models/dataset.ts @@ -11,7 +11,7 @@ export interface Dataset { doctype: string; geo_location: string; id: number; - identifier: Array; + identifier: Identifier; language: string; licence: string; publisher_name: string; @@ -99,6 +99,7 @@ export class DbDataset { public references: Array, public files: Array, public identifier: Identifier, + public referenced_by: Array, private coverage?: Coverage, public project?: Project, ) {} @@ -360,6 +361,7 @@ export interface Reference { relation: string; value: string; label: string; + dataset: Dataset; } export interface Project { diff --git a/src/views/dataset-detail.component/dataset-detail.component.vue b/src/views/dataset-detail.component/dataset-detail.component.vue index 33e9a12..a75b026 100644 --- a/src/views/dataset-detail.component/dataset-detail.component.vue +++ b/src/views/dataset-detail.component/dataset-detail.component.vue @@ -61,6 +61,32 @@ > + +
+
{{ reference.relation }}
+ +
+
+
has newer version:
+ +