fix: Fixes error while updating widget builder title (#7756)

This commit is contained in:
Liam
2023-08-19 06:27:44 +01:00
committed by GitHub
parent 4101a7b566
commit 355926897a

View File

@@ -36,8 +36,10 @@ export default {
isDefaultScreen() {
return (
this.config.isDefaultScreen &&
(this.config.welcomeHeading.length !== 0 ||
this.config.welcomeTagline.length !== 0)
((this.config.welcomeHeading &&
this.config.welcomeHeading.length !== 0) ||
(this.config.welcomeTagLine &&
this.config.welcomeTagline.length !== 0))
);
},
},