From 7b4a649843cb3ae1404471c38400747b72bfabd4 Mon Sep 17 00:00:00 2001
From: fsdavid <daviti1@mail.com>
Date: Tue, 9 Jun 2020 12:40:42 +0200
Subject: [PATCH] Update release notes

---
 docs/releases/v2.3.0.md                               |  7 +++++++
 .../singleDataset/singleDataset.base.ts               | 11 ++++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)
 create mode 100644 docs/releases/v2.3.0.md

diff --git a/docs/releases/v2.3.0.md b/docs/releases/v2.3.0.md
new file mode 100644
index 000000000..181a9bbc4
--- /dev/null
+++ b/docs/releases/v2.3.0.md
@@ -0,0 +1,7 @@
+# v2.3.0
+
+9 June 2020
+
+## New features
+
+- Import "Individual Brain Charting (IBC)" data to explorable datasets
diff --git a/src/ui/databrowserModule/singleDataset/singleDataset.base.ts b/src/ui/databrowserModule/singleDataset/singleDataset.base.ts
index 9b2ed6869..5fdd11b07 100644
--- a/src/ui/databrowserModule/singleDataset/singleDataset.base.ts
+++ b/src/ui/databrowserModule/singleDataset/singleDataset.base.ts
@@ -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()
   }
 
-- 
GitLab