Commit fd4d0601 authored by Juorder Antonio's avatar Juorder Antonio

fix the wat on we identify archive account, throw regexp store in json config,...

fix the wat on we identify archive account, throw regexp store in json config, add functions of enable / disable archive accounts.
parent 28415fc5
......@@ -274,6 +274,8 @@ export default class EditMailBox extends React.Component {
MailboxStore.changeAccount(account);
}
console.log('disable', shouldDisabledArchiving, 'enable', shouldEnableArchiving); //eslint-disable-line no-console
if (shouldDisabledArchiving && !shouldEnableArchiving) {
account.disableArchiving((err) => {
if (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment