Skip to content
Snippets Groups Projects
Commit 7b4a6498 authored by fsdavid's avatar fsdavid
Browse files

Update release notes

parent 6a032caa
No related branches found
No related tags found
No related merge requests found
# v2.3.0
9 June 2020
## New features
- Import "Individual Brain Charting (IBC)" data to explorable datasets
......@@ -109,9 +109,10 @@ export class SingleDatasetBase implements OnInit, OnChanges {
public async fetchDatasetDetail(){
try {
const { kgId } = this
const { kgSchema } = this
if (!kgId) return
const dataset = await this.singleDatasetService.getInfoFromKg({ kgId })
const dataset = await this.singleDatasetService.getInfoFromKg({ kgId, kgSchema })
const { name, description, publications, fullId } = dataset
this.name = name
this.description = description
......@@ -127,18 +128,18 @@ export class SingleDatasetBase implements OnInit, OnChanges {
// TODO this is not perfect logic for singledataset
// singledataset.base.ts should be tidied up in general
// fullId, kgId, dataset... too many different entries
public ngOnChanges(){
if (!this.kgId) {
const fullId = this.fullId || this.dataset?.fullId
const re = getKgSchemaIdFromFullId(fullId)
if (re) {
this.kgSchema = re[0]
this.kgId = re[1]
}
}
this.fetchDatasetDetail()
}
......
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