Merge pull request #433 from Nicholas-Westby/fix/432-resolve-label-templates

Fix for label templates sometimes not resolving: https://github.com/k…
This commit is contained in:
Kevin Giszewski
2017-09-25 08:28:23 -04:00
committed by GitHub
+4 -3
View File
@@ -547,10 +547,11 @@ angular.module('umbraco.services').factory('archetypeLabelService', function (ar
if(datatype) {
//try to get built-in label
var templateLabelValue = getNativeLabel(datatype, rawValue, scope);
var label = getNativeLabel(datatype, rawValue, scope);
//console.log("Native label...");
//console.log(templateLabelValue);
if (label) {
templateLabelValue = label;
}
}
}
}