⚡ Removes usage of nullish coalescing operator
This commit is contained in:
@@ -27,7 +27,7 @@ const HomeMixin = {
|
||||
return this.$store.state.modalOpen;
|
||||
},
|
||||
pageId() {
|
||||
return this.subPageInfo?.pageId ? this.subPageInfo.pageId : 'home';
|
||||
return (this.subPageInfo && this.subPageInfo.pageId) ? this.subPageInfo.pageId : 'home';
|
||||
},
|
||||
},
|
||||
data: () => ({
|
||||
|
||||
Reference in New Issue
Block a user