aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-21 09:21:32 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-21 09:21:32 -0700
commit65ce976423e241b50baa69b4d074b981d4de1f3e (patch)
tree80137c0140f07b678263abeeed7fe6f666006c6f /ext/bg/js/translator.js
parent119def2bebc9adea3a29e9152c7e4747d81d54fa (diff)
wip
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 454799a3..cc0336e7 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -178,7 +178,7 @@ class Translator {
for (const name in items) {
const base = name.split(':')[0];
const meta = await this.database.findTagForTitle(base, title);
- const group = stats[meta.category] || [];
+ const group = stats[meta.category] = stats[meta.category] || [];
const stat = {name, value: items[name]};
for (const prop in meta || {}) {