On Settings save reset key activation tab defaults
This fixes unexpected modal opening and wrong "email sent" message edge case. [MAILPOET-2831]
This commit is contained in:
@@ -53,6 +53,10 @@ export function* saveSettings() {
|
|||||||
return { type: 'SAVE_FAILED', error };
|
return { type: 'SAVE_FAILED', error };
|
||||||
}
|
}
|
||||||
yield { type: 'TRACK_SETTINGS_SAVED' };
|
yield { type: 'TRACK_SETTINGS_SAVED' };
|
||||||
|
yield updateKeyActivationState({
|
||||||
|
congratulatoryMssEmailSentTo: null,
|
||||||
|
fromAddressModalCanBeShown: false,
|
||||||
|
});
|
||||||
yield setSettings(res.data);
|
yield setSettings(res.data);
|
||||||
return { type: 'SAVE_DONE' };
|
return { type: 'SAVE_DONE' };
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user