Commit 8b6d2845 authored by Ben Hayward's avatar Ben Hayward

Tidying

1 merge request!687[Sprint/TrendyTurtle](fix): Pro logo sign-in modal fix #2289
Pipeline #101322576 passed with stages
in 42 minutes and 46 seconds
......@@ -4,7 +4,7 @@
*ngIf="!session.isLoggedIn() || display != 'initial'"
(click)="$event.stopPropagation()"
>
<ng-container *ngIf="showProLogo(); else mindsLogo">
<ng-container *ngIf="site.isProDomain; else mindsLogo">
<m-pro--avatar [channel]="channel"></m-pro--avatar>
</ng-container>
<ng-template #mindsLogo>
......
......@@ -190,8 +190,4 @@ export class SignupModal {
return this.site.pro.one_line_headline || '';
}
protected showProLogo(): boolean {
return this.site.isProDomain;
}
}
......@@ -86,6 +86,7 @@ describe('MindsProAvatarComponent', () => {
it('should show logo if one is', fakeAsync(() => {
comp.channel = <any>{
pro_settings: {
logo_image: 'image.png',
has_custom_logo: true,
},
};
......
Please register or to comment