UI: Widgets - add entityDescription variable

This commit is contained in:
Igor Kulikov 2019-03-28 11:27:01 +02:00
parent 115b008783
commit 2f06be1d05

View File

@ -499,6 +499,8 @@ function Utils($mdColorPalette, $rootScope, $window, $translate, $q, $timeout, t
label = label.split(variable).join(datasource.entityName); label = label.split(variable).join(datasource.entityName);
} else if (variableName === 'aliasName') { } else if (variableName === 'aliasName') {
label = label.split(variable).join(datasource.aliasName); label = label.split(variable).join(datasource.aliasName);
} else if (variableName === 'entityDescription') {
label = label.split(variable).join(datasource.entityDescription);
} }
match = varsRegex.exec(pattern); match = varsRegex.exec(pattern);
} }