Merge pull request #2532 from martinLim45/master

Set flow.disabled when disabled property is false
pull/2540/head
Nick O'Leary 2020-04-07 10:05:36 +01:00 committed by GitHub
commit 54dbdde9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ function getFlow(id) {
if (flow.label) {
result.label = flow.label;
}
if (flow.disabled) {
if (flow.hasOwnProperty('disabled')) {
result.disabled = flow.disabled;
}
if (flow.hasOwnProperty('info')) {