mirror of https://github.com/node-red/node-red.git
Do not check the type editors
parent
07d6c4e582
commit
a25595765f
|
|
@ -2263,7 +2263,6 @@ RED.editor = (function() {
|
||||||
|
|
||||||
function showTypeEditor(type, options) {
|
function showTypeEditor(type, options) {
|
||||||
if (customEditTypes.hasOwnProperty(type)) {
|
if (customEditTypes.hasOwnProperty(type)) {
|
||||||
if (editStack.find((item) => Object.keys(item).length === 1 && item.type === type)) { return }
|
|
||||||
if (editStack.length > 0) {
|
if (editStack.length > 0) {
|
||||||
options.parent = editStack[editStack.length-1].id;
|
options.parent = editStack[editStack.length-1].id;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue