From 75644c172b7170c74bd4de82b1f17bd93161fc25 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Fri, 26 Feb 2016 08:53:42 +0000 Subject: [PATCH] SSDM-3044 : Barcodes on parents/children links SVN: 35744 --- .../webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js index ad59e82beb3..4324a80781c 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/legacy/SampleLinksWidget.js @@ -440,7 +440,7 @@ function SampleLinksWidget(containerId, profile, serverFacade, title, sampleType var info = $("<span>"); var displayNameAsCode = sampleToAdd.code; - if(sampleToAdd.properties) { + if(sampleToAdd.properties && sampleToAdd.properties[profile.propertyReplacingCode]) { displayNameAsCode = sampleToAdd.properties[profile.propertyReplacingCode]; } -- GitLab