aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/upload.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-11-20 15:58:06 +0300
committermoisseev <moiseev@mezonplus.ru>2023-11-20 15:58:06 +0300
commiteab17b201a5ec7cbe13c15a7cf2b1bbd9480816a (patch)
tree74c111256ad419c5744b9d0196910fdebefad2d6 /interface/js/app/upload.js
parent4d10f4efe643a84da936f29d48cc28ad70803ab0 (diff)
downloadrspamd-eab17b201a5ec7cbe13c15a7cf2b1bbd9480816a.tar.gz
rspamd-eab17b201a5ec7cbe13c15a7cf2b1bbd9480816a.zip
[Minor] Use destructuring
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r--interface/js/app/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index 01031c4a0..9893477f1 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -172,7 +172,7 @@ define(["jquery", "app/rspamd"],
const rows_total = $("#historyTable_scan > tbody > tr:not(.footable-detail-row)").length + 1;
const o = rspamd.process_history_v2({rows: [json]}, "scan");
- const items = o.items;
+ const {items} = o;
rspamd.symbols.scan.push(o.symbols[0]);
if (Object.prototype.hasOwnProperty.call(rspamd.tables, "scan")) {