summaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/database.js')
-rw-r--r--ext/bg/js/database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 05cb8acd..980e9e40 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -231,7 +231,7 @@ class Database {
for (const tag in tagMeta || {}) {
const meta = tagMeta[tag];
rows.push({
- tag,
+ name: tag,
category: meta.category,
notes: meta.notes,
order: meta.order,
@@ -252,8 +252,8 @@ class Database {
reading,
tags,
rules,
+ score,
glossary,
- score: parseInt(score),
dictionary: title
});
}