diff options
Diffstat (limited to 'interface/js/app/config.js')
-rw-r--r-- | interface/js/app/config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/config.js b/interface/js/app/config.js index e0adb365b..9f62c97db 100644 --- a/interface/js/app/config.js +++ b/interface/js/app/config.js @@ -120,7 +120,7 @@ define(["jquery", "app/rspamd"], $listmaps.closest(".card").hide(); rspamd.query("maps", { success: function (json) { - const data = json[0].data; + const [{data}] = json; $listmaps.empty(); $("#modalBody").empty(); const $tbody = $("<tbody>"); |