Skip to content

Commit 132cabc

Browse files
committed
fixed an order of operations issue.
1 parent 22c53e1 commit 132cabc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/assets/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ var getIpAddress = function(reason) {
7474
var checkConnection = function(reason) {
7575
console.log("");
7676
console.log(" ---- Inside Check Connection function");
77+
buildIfaceList();
7778
let selIndex = localStorage.getItem("selIndex");
7879
if (typeof selIndex == 'undefined' || selIndex == null || selIndex == "") {
7980
selIndex = 0;
8081
}
82+
8183
Neutralino.os.runCommand('ip addr show ' + configs.wg_interface[selIndex],
8284
function(data) {
8385
let info = data.stdout;

0 commit comments

Comments
 (0)