diff options
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r-- | ext/bg/js/translator.js | 2 |
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 || {}) { |