Refresh the UI even when there are no proxy settings - MAC-709
This commit is contained in:
parent
26457f4c3f
commit
5d7b970f1c
1 changed files with 2 additions and 1 deletions
|
@ -1547,6 +1547,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
this.updateProxyDependentUi(proxy);
|
this.updateProxyDependentUi(proxy);
|
||||||
} else {
|
} else {
|
||||||
this.switch.checked = false;
|
this.switch.checked = false;
|
||||||
|
this.updateProxyDependentUi({});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1677,7 +1678,6 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
this.currentCityName.textContent = proxyInfo.cityName;
|
this.currentCityName.textContent = proxyInfo.cityName;
|
||||||
this.countryCode = proxyInfo.countryCode;
|
this.countryCode = proxyInfo.countryCode;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
expandUi() {
|
expandUi() {
|
||||||
|
@ -1892,6 +1892,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
if (proxyPermissionEnabled) {
|
if (proxyPermissionEnabled) {
|
||||||
const proxyData = await proxifiedContainers.retrieve(identity.cookieStoreId);
|
const proxyData = await proxifiedContainers.retrieve(identity.cookieStoreId);
|
||||||
if (proxyData && proxyData.proxy.mozProxyEnabled && !mozillaVpnConnected) {
|
if (proxyData && proxyData.proxy.mozProxyEnabled && !mozillaVpnConnected) {
|
||||||
|
mozillaVpnUi.updateProxyDependentUi({});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const proxy = proxyData ? proxyData.proxy : {};
|
const proxy = proxyData ? proxyData.proxy : {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue