mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2532 from martinLim45/master
Set flow.disabled when disabled property is false
This commit is contained in:
commit
54dbdde9cb
@ -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