From e45cec14fa8d7c1c45f35a003190f159e41b9800 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 30 Nov 2017 15:37:05 +0100 Subject: [PATCH] posttranslation modification are visualized properly --- frontend-js/src/main/js/map/data/BioEntity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-js/src/main/js/map/data/BioEntity.js b/frontend-js/src/main/js/map/data/BioEntity.js index f5e74463f7..4bb91adce9 100644 --- a/frontend-js/src/main/js/map/data/BioEntity.js +++ b/frontend-js/src/main/js/map/data/BioEntity.js @@ -106,7 +106,7 @@ BioEntity.prototype.getType = function() { BioEntity.prototype.getOther = function(type) { if (this._other !== undefined) { - return this._other[type]; + return (type === undefined) ? this._other : this._other[type]; } }; -- GitLab