diff --git a/components/mockups/OneSetHeatmap.vue b/components/mockups/OneSetHeatmap.vue index 383b48dd66109abd7dba8ac13148f509a9b87d20..a81b8c8f20d1e56d096886d5a15ccb2c7cb9bc11 100644 --- a/components/mockups/OneSetHeatmap.vue +++ b/components/mockups/OneSetHeatmap.vue @@ -107,11 +107,15 @@ export default { const moleculeChEMBLidsRawList = setItems.map( (item) => item.molecule_chembl_id ) - this.compoundChEMBLIDs = [...new Set(moleculeChEMBLidsRawList)] + this.compoundChEMBLIDs = [...new Set(moleculeChEMBLidsRawList)].filter( + (chemblID) => chemblID != null && chemblID !== '' + ) const targetChEMBLidsRawList = setItems.map( (item) => item.target_chembl_id ) - this.targetChEMBLIDs = [...new Set(targetChEMBLidsRawList)] + this.targetChEMBLIDs = [...new Set(targetChEMBLidsRawList)].filter( + (chemblID) => chemblID != null && chemblID !== '' + ) } catch (e) { this.showError = true this.errorMsg = e.message diff --git a/web-components-submodule b/web-components-submodule index baf83212dc42988c9bf4f31a68c9d708b73e1890..fc556c727074a132d1abd86867c0ada8e8f47ac7 160000 --- a/web-components-submodule +++ b/web-components-submodule @@ -1 +1 @@ -Subproject commit baf83212dc42988c9bf4f31a68c9d708b73e1890 +Subproject commit fc556c727074a132d1abd86867c0ada8e8f47ac7