mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1642 from node-red-hitachi/subflow-icon
Disable user defined icon for subflow
This commit is contained in:
commit
0123eacbdb
@ -742,7 +742,7 @@ RED.editor = (function() {
|
|||||||
buildLabelRow().appendTo(outputsDiv);
|
buildLabelRow().appendTo(outputsDiv);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!node._def.defaults.hasOwnProperty("icon")) {
|
if (!node._def.defaults.hasOwnProperty("icon") && node.type !== "subflow") {
|
||||||
$('<div class="form-row"><div id="node-settings-icon"></div></div>').appendTo(dialogForm);
|
$('<div class="form-row"><div id="node-settings-icon"></div></div>').appendTo(dialogForm);
|
||||||
var iconDiv = $("#node-settings-icon");
|
var iconDiv = $("#node-settings-icon");
|
||||||
$('<label data-i18n="editor.settingIcon">').appendTo(iconDiv);
|
$('<label data-i18n="editor.settingIcon">').appendTo(iconDiv);
|
||||||
|
Loading…
Reference in New Issue
Block a user