mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Disable user defined icon for subflow
This commit is contained in:
parent
326c6c496e
commit
c53562cc9c
@ -742,7 +742,7 @@ RED.editor = (function() {
|
||||
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);
|
||||
var iconDiv = $("#node-settings-icon");
|
||||
$('<label data-i18n="editor.settingIcon">').appendTo(iconDiv);
|
||||
|
Loading…
Reference in New Issue
Block a user