summaryrefslogtreecommitdiff
path: root/resources/js/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/db.js')
-rw-r--r--resources/js/db.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/js/db.js b/resources/js/db.js
index 5850a01..ede65aa 100644
--- a/resources/js/db.js
+++ b/resources/js/db.js
@@ -68,9 +68,11 @@ const DB = {
*/
items: {},
+ areas: {},
+
translations: {},
- areas: {},
+ currencies : {},
};
async function initializeDB () {
@@ -85,6 +87,8 @@ async function initializeDB () {
}
await fetchTranslation(Memory.state.Settings.language);
+
+ DB.currencies = await fetch('/db/_generated/currencies.json').then((response) => response.json());
}
/**