aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-08-28 13:47:03 -0400
committerGitHub <noreply@github.com>2021-08-28 13:47:03 -0400
commit93f193c89eea381046f00f3a586beb66b2de0b19 (patch)
tree6522f9ae2fbf7b05734d5316fb9cb27a6352139d /ext
parent58744ed01364ab651e971cbc51b11a0f52d2a84e (diff)
Fix incorrect dictionary name ordering being used for counts (#1912)
Diffstat (limited to 'ext')
-rw-r--r--ext/js/pages/settings/dictionary-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/settings/dictionary-controller.js b/ext/js/pages/settings/dictionary-controller.js
index 8df4b6bd..a041e791 100644
--- a/ext/js/pages/settings/dictionary-controller.js
+++ b/ext/js/pages/settings/dictionary-controller.js
@@ -566,7 +566,7 @@ class DictionaryController {
this._setButtonsEnabled(false);
const token = this._databaseStateToken;
- const dictionaryTitles = this._dictionaries.map(({title}) => title);
+ const dictionaryTitles = this._dictionaryEntries.map(({dictionaryTitle}) => dictionaryTitle);
const {counts, total} = await yomichan.api.getDictionaryCounts(dictionaryTitles, true);
if (this._databaseStateToken !== token) { return; }