aboutsummaryrefslogtreecommitdiff
path: root/src/boot/after_store.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
committerHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
commitfddb531ed20b31c44e6911418e7bbb884836c40a (patch)
tree37a8f9aea2002e893d605d64f8941ff1520059b6 /src/boot/after_store.js
parent0cbfcb99a9ffaf771adbe37320bba157019f65ff (diff)
--fix
Diffstat (limited to 'src/boot/after_store.js')
-rw-r--r--src/boot/after_store.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index 894a68e1..23b68e83 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -156,7 +156,7 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('hideSitename')
copyInstanceOption('sidebarRight')
- return store.dispatch('setTheme', config['theme'])
+ return store.dispatch('setTheme', config.theme)
}
const getTOS = async ({ store }) => {
@@ -197,7 +197,7 @@ const getStickers = async ({ store }) => {
const stickers = (await Promise.all(
Object.entries(values).map(async ([name, path]) => {
const resPack = await window.fetch(path + 'pack.json')
- var meta = {}
+ let meta = {}
if (resPack.ok) {
meta = await resPack.json()
}