mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Set flow.disabled when disabled property is false
This commit is contained in:
parent
572c03631d
commit
513957eea1
@ -553,7 +553,7 @@ function getFlow(id) {
|
|||||||
if (flow.label) {
|
if (flow.label) {
|
||||||
result.label = flow.label;
|
result.label = flow.label;
|
||||||
}
|
}
|
||||||
if (flow.disabled) {
|
if (flow.hasOwnProperty('disabled')) {
|
||||||
result.disabled = flow.disabled;
|
result.disabled = flow.disabled;
|
||||||
}
|
}
|
||||||
if (flow.hasOwnProperty('info')) {
|
if (flow.hasOwnProperty('info')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user