Improved additional account management

This commit is contained in:
djmaze 2021-11-15 10:56:52 +01:00
parent b057c4083e
commit 6b8020b8f5
15 changed files with 161 additions and 161 deletions

View file

@ -5,7 +5,7 @@ export const AccountUserStore = {
accounts: ko.observableArray(),
loading: ko.observable(false).extend({ debounce: 100 }),
getEmailAddresses: () => AccountUserStore.accounts.map(item => item ? item.email : null).filter(v => v),
getEmailAddresses: () => AccountUserStore.accounts.map(item => item.email),
accountsUnreadCount: ko.computed(() => 0),
// accountsUnreadCount: ko.computed(() => {
@ -21,6 +21,5 @@ export const AccountUserStore = {
addObservablesTo(AccountUserStore, {
email: '',
parentEmail: '',
signature: ''
});