From 095c8c3b7c65021d273f11469fc983340bdce970 Mon Sep 17 00:00:00 2001 From: Holger Stitz Date: Wed, 28 Sep 2016 16:40:36 +0200 Subject: [PATCH] Fill idtype mapping cache with incoming LineUp results Caleydo/targid2#247 --- DummyList.ts | 3 +++ Enrichment.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/DummyList.ts b/DummyList.ts index 8d1bfd6..555eb0f 100644 --- a/DummyList.ts +++ b/DummyList.ts @@ -55,6 +55,9 @@ class AStart extends ALineUpView { promise.then((args) => { const desc = args[0]; var rows : any[] = args[1]; + + this.fillIDTypeMapCache(idtypes.resolve(desc.idType), rows); + const columns = [ stringCol('a_name','Name'), categoricalCol('a_cat1', desc.columns.a_cat1.categories), diff --git a/Enrichment.ts b/Enrichment.ts index 81d9d2a..1e704cb 100644 --- a/Enrichment.ts +++ b/Enrichment.ts @@ -95,6 +95,7 @@ class Enrichment extends ALineUpView { // on success promise.then((rows) => { + this.fillIDTypeMapCache(idtype, rows); this.replaceLineUpData(rows); this.updateMapping('score', rows); this.setBusy(false);