Commit 10d07132 authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by GitHub

Merge pull request #217 from ZBoxApp/issues_beta_v1

fix the wat on we identify archive account, throw regexp store in jso…
parents 28415fc5 fd4d0601
...@@ -274,6 +274,8 @@ export default class EditMailBox extends React.Component { ...@@ -274,6 +274,8 @@ export default class EditMailBox extends React.Component {
MailboxStore.changeAccount(account); MailboxStore.changeAccount(account);
} }
console.log('disable', shouldDisabledArchiving, 'enable', shouldEnableArchiving); //eslint-disable-line no-console
if (shouldDisabledArchiving && !shouldEnableArchiving) { if (shouldDisabledArchiving && !shouldEnableArchiving) {
account.disableArchiving((err) => { account.disableArchiving((err) => {
if (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