Fix bug 63846 - Settings: Backup. Reset the selected folder when connecting to another account.
This commit is contained in:
parent
0f47decca6
commit
89d8cd2221
@ -96,6 +96,8 @@ const DirectThirdPartyConnection = (props) => {
|
||||
try {
|
||||
if (!isDirectConnection()) setState({ isUpdatingInfo: true });
|
||||
|
||||
onSelectFolder && onSelectFolder("");
|
||||
|
||||
let account;
|
||||
[account, capabilities] = await Promise.all([
|
||||
getSettingsThirdParty(),
|
||||
@ -186,6 +188,7 @@ const DirectThirdPartyConnection = (props) => {
|
||||
|
||||
const onConnect = () => {
|
||||
clearLocalStorage();
|
||||
onSelectFolder && onSelectFolder("");
|
||||
|
||||
const {
|
||||
provider_key,
|
||||
|
Loading…
Reference in New Issue
Block a user