1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

getNodeIcon should handle subflow types properly

This commit is contained in:
Nick O'Leary 2017-08-02 21:55:25 +01:00
parent 7ec8f0d26b
commit 67dc848b2d
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -683,6 +683,8 @@ RED.utils = (function() {
return "icons/node-red/subflow.png"
} else if (node && node.type === 'unknown') {
return "icons/node-red/alert.png"
} else if (node && node.type === 'subflow') {
return "icons/node-red/subflow.png"
}
var icon_url;
if (typeof def.icon === "function") {