Fix for label templates sometimes not resolving: https://github.com/kgiszewski/Archetype/issues/432

This commit is contained in:
Nicholas-Westby
2017-09-23 17:16:50 -07:00
parent 3a2190b232
commit e053b42950
+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;
}
}
}
}