Null check!

This commit is contained in:
Roman Cervantes 2019-04-08 22:04:04 -07:00
parent e37b1a2280
commit 4f98cbceca

View file

@ -68,7 +68,7 @@ export default {
}, },
customWallpaper() { customWallpaper() {
return this.settings.wallpapers && this.settings.wallpapers[this.platform.code] return this.settings && this.settings.wallpapers && this.settings.wallpapers[this.platform.code]
? this.settings.wallpapers[this.platform.code].url ? this.settings.wallpapers[this.platform.code].url
: ''; : '';
}, },