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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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