diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 28fca5e0d65..d857b732db3 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1703,7 +1703,7 @@ name: 'source', description: _l('label.lb.algorithm.source') }]; - if (typeof args.context != 'undefined') { + if (typeof args.context == 'undefined') { data = getLBAlgorithms(args.context.networks[0]); } args.response.success({ @@ -3551,7 +3551,7 @@ name: 'source', description: _l('label.lb.algorithm.source') }]; - if (typeof args.context != 'undefined') { + if (typeof args.context == 'undefined') { data = getLBAlgorithms(args.context.networks[0]); } args.response.success({