mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
import { addObservablesTo, koArrayWithDestroy } from 'External/ko';
|
|
|
|
export const AccountUserStore = koArrayWithDestroy();
|
|
|
|
AccountUserStore.loading = ko.observable(false).extend({ debounce: 100 });
|
|
|
|
AccountUserStore.getEmailAddresses = () => AccountUserStore.map(item => item.email);
|
|
|
|
addObservablesTo(AccountUserStore, {
|
|
email: '',
|
|
signature: ''
|
|
});
|