aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/stats.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-06 09:57:07 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-06 09:57:07 +0300
commitd3c4028f4da8e84ffb54198d42637778a3becb69 (patch)
tree866ea5ad7f358144bd3d98c61c58bbb105dd7506 /interface/js/app/stats.js
parent719327eb8b16c52a4474e544363a9b1230ff9e11 (diff)
downloadrspamd-d3c4028f4da8e84ffb54198d42637778a3becb69.tar.gz
rspamd-d3c4028f4da8e84ffb54198d42637778a3becb69.zip
[Minor] JS: Remove redundant quotes
around object literal property names
Diffstat (limited to 'interface/js/app/stats.js')
-rw-r--r--interface/js/app/stats.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index c76f51945..c75b20441 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -143,30 +143,30 @@ define(["jquery", "d3pie", "humanize"],
if (creds && creds[checked_server]) {
var data = creds[checked_server].data;
var new_data = [{
- "color" : "#66CC00",
- "label" : "Clean",
- "data" : data.clean,
- "value" : data.clean
+ color : "#66CC00",
+ label : "Clean",
+ data : data.clean,
+ value : data.clean
}, {
- "color" : "#BF8040",
- "label" : "Temporarily rejected",
- "data" : data.soft_reject,
- "value" : data.soft_reject
+ color : "#BF8040",
+ label : "Temporarily rejected",
+ data : data.soft_reject,
+ value : data.soft_reject
}, {
- "color" : "#FFAD00",
- "label" : "Probable spam",
- "data" : data.probable,
- "value" : data.probable
+ color : "#FFAD00",
+ label : "Probable spam",
+ data : data.probable,
+ value : data.probable
}, {
- "color" : "#436EEE",
- "label" : "Greylisted",
- "data" : data.greylist,
- "value" : data.greylist
+ color : "#436EEE",
+ label : "Greylisted",
+ data : data.greylist,
+ value : data.greylist
}, {
- "color" : "#FF0000",
- "label" : "Rejected",
- "data" : data.reject,
- "value" : data.reject
+ color : "#FF0000",
+ label : "Rejected",
+ data : data.reject,
+ value : data.reject
}];
return rspamd.drawPie(pie, "chart", new_data);