Commit 3e47a365 authored by Iuri Matias's avatar Iuri Matias

fix binding issue with network module call

parent f51f3308
...@@ -320,7 +320,7 @@ class SettingsUI { ...@@ -320,7 +320,7 @@ class SettingsUI {
this.netUI.innerHTML = 'can\'t detect network ' this.netUI.innerHTML = 'can\'t detect network '
return return
} }
let network = this._components.networkModule.getNetworkProvider let network = this._components.networkModule.getNetworkProvider.bind(this._components.networkModule)
this.netUI.innerHTML = (network() !== 'vm') ? `${name} (${id || '-'}) network` : '' this.netUI.innerHTML = (network() !== 'vm') ? `${name} (${id || '-'}) network` : ''
}) })
this.fillAccountsList() this.fillAccountsList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment