mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 21:50:24 +00:00
null check
This commit is contained in:
parent
5f7155c53a
commit
91c9cb2cfa
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export default {
|
||||||
? JSON.parse(JSON.stringify(this.settings))
|
? JSON.parse(JSON.stringify(this.settings))
|
||||||
: JSON.parse(JSON.stringify(this.defaultSettings));
|
: JSON.parse(JSON.stringify(this.defaultSettings));
|
||||||
|
|
||||||
if (!this.localSettings[this.platform.code]) {
|
if (this.platform && !this.localSettings[this.platform.code]) {
|
||||||
this.localSettings[this.platform.code] = {
|
this.localSettings[this.platform.code] = {
|
||||||
theme: 'theme-default',
|
theme: 'theme-default',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue