From e42c94d4712cea0f619998a7b01e627ba10519e2 Mon Sep 17 00:00:00 2001 From: djmaze Date: Thu, 30 Jul 2020 12:02:43 +0200 Subject: [PATCH] Bugfix: reloadDomainList() failed due to wrong recode of underscore.js map() to Object.entries() --- dev/App/Admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/App/Admin.js b/dev/App/Admin.js index 34a6fccf3..404e60259 100644 --- a/dev/App/Admin.js +++ b/dev/App/Admin.js @@ -39,7 +39,7 @@ class AdminApp extends AbstractApp { DomainStore.domains.loading(false); if (StorageResultType.Success === result && data && data.Result) { DomainStore.domains( - Object.entries(data.Result).map(([enabled, alias], name) => ({ + Object.entries(data.Result).map(([name, [enabled, alias]]) => ({ name: name, disabled: ko.observable(!enabled), alias: alias,