Skip to content

Commit 1523c00

Browse files
committed
fix: auth guard
1 parent 77ec351 commit 1523c00

File tree

1 file changed

+1
-1
lines changed
  • packages/agent-webapp/src/components

1 file changed

+1
-1
lines changed

packages/agent-webapp/src/components/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class AuthComponent extends LitElement {
131131
: nothing}
132132
</section>`;
133133

134-
protected renderGuard = () => (Boolean(this.loaded) ? html`<slot></slot>` : nothing);
134+
protected renderGuard = () => (Boolean(this.loaded && this._userDetails) ? html`<slot></slot>` : nothing);
135135

136136
protected renderLogin = () =>
137137
!this.loaded

0 commit comments

Comments
 (0)