summaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-12-17 19:30:26 -0800
committerAlex Yatskov <alex@foosoft.net>2016-12-17 19:30:26 -0800
commit5c755043fa2fb23f94f898fc57828277d7b02049 (patch)
treecb589e3f0c0200005977d1ef18e7a6b3c2d9b25a /ext/bg/js/database.js
parent15e1cf3358e357968d6c48465fcd15a877bc433a (diff)
CWIP
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
});
}