diff --git a/frontend-js/src/main/js/map/data/BioEntity.js b/frontend-js/src/main/js/map/data/BioEntity.js index f5e74463f7cef6688c1b7dd7512fd90411113dcf..4bb91adce956b23eeaf1c11c13b8fb6944893568 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]; } };