Skip to content
Snippets Groups Projects
Unverified Commit e8eeca3a authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Update singleDataset.base.ts

parent c678cb39
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@ export class SingleDatasetBase implements OnInit {
* while the actual data is being loaded from KG with kgSchema and kgId
*/
@Input() public name?: string
@Input() public title?: string
@Input() public description?: string
@Input() public publications?: IPublication[]
......@@ -78,9 +77,8 @@ export class SingleDatasetBase implements OnInit {
const { kgId, kgSchema, dataset } = this
this.dlFromKgHref = this.singleDatasetService.getDownloadZipFromKgHref({ kgSchema, kgId })
if ( dataset ) {
const { name, title, description, kgReference, publications, files, preview, kgExternalLink, underEmbargo } = dataset
const { name, description, kgReference, publications, files, preview } = dataset
this.name = name
this.title = title
this.description = description
this.kgReference = kgReference
this.publications = publications
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment