Skip to content

Commit 70c9e2e

Browse files
committed
Adds protection for empty home state
1 parent ccf72bb commit 70c9e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/apps/home/home.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class GlHomeApp extends GlApp<State> {
7070
<gl-onboarding></gl-onboarding>
7171
<gl-integration-banner></gl-integration-banner>
7272
${when(
73-
this.state.previewEnabled,
73+
this.state?.previewEnabled === true,
7474
() => html`
7575
<gl-active-work></gl-active-work>
7676
<gl-launchpad></gl-launchpad>

0 commit comments

Comments
 (0)