From dcd749d11f4edef0a41d7bf7a2062d208ca4d274 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Fri, 21 Aug 2015 13:26:40 +0000 Subject: [PATCH] SSDM-2293 : Polishing, labels don't appear for the positions where the current sample is, the rack is highlighted instead. SVN: 34506 --- .../html/js/views/StorageManager/widgets/StorageView.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageView.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageView.js index fc7347e3660..9d007ca362f 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageView.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageView.js @@ -265,8 +265,12 @@ function StorageView(storageController, storageModel, gridView) { row[y] = col; } - label = { displayName : code, data : {} }; - col.push(label); + if(_this._storageModel.sample && element.permId === _this._storageModel.sample.permId) { + continue; + } else { + label = { displayName : code, data : {} }; + col.push(label); + } } } } else { -- GitLab