Skip to content

Commit e00d402

Browse files
committed
fix(package): fixed minor issue in the avatar template
1 parent 08308e8 commit e00d402

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<button mat-fab
1414
[style.background-image]="'url(' + user?.photoURL + ')'"
1515
style="background-size: cover">
16-
<span *ngIf="user?.photoURL">{{{displayNameInitials}}</span>
16+
<span *ngIf="user?.photoURL">{{displayNameInitials}}</span>
1717
</button>
1818
<div fxLayout="column" style="padding-left: 10px; padding-right: 10px">
1919
<strong mat-card-title>{{user?.displayName}}</strong>

src/module/components/ngx-auth-firebaseui-avatar/ngx-auth-firebaseui-avatar.component.spec.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ describe('NgxAuthFirebaseuiAvatarComponent', () => {
3737
{provide: MatDialogRef, useValue: {}}
3838
]
3939
})
40-
.compileComponents();
40+
.compileComponents().then(() => {
41+
fixture = TestBed.createComponent(NgxAuthFirebaseuiAvatarComponent);
42+
component = fixture.componentInstance;
43+
fixture.detectChanges();
44+
});
4145
}));
4246

43-
beforeEach(() => {
44-
fixture = TestBed.createComponent(NgxAuthFirebaseuiAvatarComponent);
45-
component = fixture.componentInstance;
46-
fixture.detectChanges();
47-
});
48-
4947
it('should create', () => {
5048
expect(component).toBeTruthy();
5149
});

0 commit comments

Comments
 (0)