feat: core improvements + local fs provider + UI fixes

This commit is contained in:
NGPixel committed 2018-07-29 22:23:33 -04:00
1 parent 803d86ff63
commit 2817c72ec3
65 files changed
+482 -264

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = {
}
},
async loadLocale(locale, opts = { silent: false }) {
const res = await WIKI.db.locales.query().findOne('code', locale)
const res = await WIKI.models.locales.query().findOne('code', locale)
if (res) {
if (_.isPlainObject(res.strings)) {
_.forOwn(res.strings, (data, ns) => {