mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Better Domain management with simplified SASL Mechanisms support
This commit is contained in:
parent
6c6e73f448
commit
5a17e3b51d
12 changed files with 85 additions and 176 deletions
|
|
@ -12,12 +12,11 @@ DomainAdminStore.fetch = () => {
|
|||
DomainAdminStore.loading(false);
|
||||
if (!iError) {
|
||||
DomainAdminStore(
|
||||
Object.entries(data.Result).map(([name, [enabled, alias]]) => ({
|
||||
name: name,
|
||||
disabled: ko.observable(!enabled),
|
||||
alias: alias,
|
||||
deleteAccess: ko.observable(false)
|
||||
}))
|
||||
data.Result.map(item => {
|
||||
item.disabled = ko.observable(item.disabled);
|
||||
item.deleteAccess = ko.observable(false);
|
||||
return item;
|
||||
})
|
||||
);
|
||||
}
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue