Skip to content

Commit 0905a53

Browse files
Fix innerText still being undefined in ssr mode
1 parent 3dc73f9 commit 0905a53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/log-in/log-in.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ds-themed-loading *ngIf="(loading | async) || (isAuthenticated | async)" class="m-5"></ds-themed-loading>
22
<div *ngIf="!(loading | async) && !(isAuthenticated | async)" class="px-4 py-3 mx-auto login-container">
33
<ng-container *ngFor="let authMethod of getOrderedAuthMethods(authMethods | async); let last = last">
4-
<div [class.d-none]="contentRef.innerText.trim().length === 0">
4+
<div [class.d-none]="contentRef.innerText?.trim().length === 0">
55
<div #contentRef>
66
<ds-log-in-container [authMethod]="authMethod" [isStandalonePage]="isStandalonePage"></ds-log-in-container>
77
</div>

0 commit comments

Comments
 (0)