(js) Fix error when visiting the Preferences

pull/210/head
Francis Lachapelle 2016-06-01 14:00:41 -04:00
parent 99e8c42a87
commit b008e220fe
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@
_visit(_this.$mailboxes);
}
}
_this.$expanded |= (Account.$accounts.length == 1); // Always expand single account
if (Account.$accounts)
_this.$expanded |= (Account.$accounts.length == 1); // Always expand single account
_this.$flattenMailboxes({reload: true});
});