null check for new users

This commit is contained in:
Gamebrary 2020-10-09 11:11:22 -07:00
parent 97cbb4a929
commit 6631d6ad44

View file

@ -247,6 +247,10 @@ export default {
},
UPDATE_SETTING(state, { key, value }) {
if (!state.settings) {
state.settings = {};
}
state.settings[key] = value;
},