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