Switch account screen on disconnect

This commit is contained in:
Narek Zakarian 2022-09-02 17:58:49 +04:00
parent 145bd8c791
commit 8aa8b8de72

View file

@ -247,6 +247,12 @@ function ppcp_onboarding_productionCallback(...args) {
} }
); );
if (sandboxSwitchElement.checked) {
sandboxSwitchElement.checked = false;
} else {
sandboxSwitchElement.checked = true;
}
isDisconnecting = true; isDisconnecting = true;
document.querySelector('.woocommerce-save-button').click(); document.querySelector('.woocommerce-save-button').click();