Tidy some subflow env props css

This commit is contained in:
Nick O'Leary
2020-08-28 16:35:47 +01:00
committed by Nick O'Leary
parent 7913b3cbc2
commit 6e1466e411
3 changed files with 9 additions and 0 deletions

View File

@@ -993,6 +993,7 @@ RED.subflow = (function() {
icon: "",
type: "cred"
}
opt.ui.type = "cred";
} else {
opt.ui = opt.ui || {
icon: "",
@@ -1488,6 +1489,7 @@ RED.subflow = (function() {
var locale = RED.i18n.lang();
var labelText = lookupLabel(labels, labels["en-US"]||tenv.name, locale);
var label = $('<label>').appendTo(row);
$('<span>&nbsp;</span>').appendTo(row);
var labelContainer = $('<span></span>').appendTo(label);
if (ui.icon) {
var newPath = RED.utils.separateIconPath(ui.icon);