Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
403
Merge Requests
60
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
8b6d2845
Commit
8b6d2845
authored
18 hours ago
by
Ben Hayward
Browse files
Options
Download
Tidying
parent
842d83d7
fix/pro-logo-modal-2289
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
src/app/modules/modals/signup/signup.html
View file @
8b6d2845
...
...
@@ -4,7 +4,7 @@
*ngIf=
"!session.isLoggedIn() || display != 'initial'"
(click)=
"$event.stopPropagation()"
>
<ng-container
*ngIf=
"s
howProLogo()
; else mindsLogo"
>
<ng-container
*ngIf=
"s
ite.isProDomain
; else mindsLogo"
>
<m-pro--avatar
[channel]=
"channel"
></m-pro--avatar>
</ng-container>
<ng-template
#mindsLogo
>
...
...
This diff is collapsed.
src/app/modules/modals/signup/signup.ts
View file @
8b6d2845
...
...
@@ -190,8 +190,4 @@ export class SignupModal {
return
this
.
site
.
pro
.
one_line_headline
||
''
;
}
protected
showProLogo
():
boolean
{
return
this
.
site
.
isProDomain
;
}
}
This diff is collapsed.
src/app/modules/pro/pro-avatar/pro-avatar.
service
.spec.ts
→
src/app/modules/pro/pro-avatar/pro-avatar.
component
.spec.ts
View file @
8b6d2845
...
...
@@ -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
,
},
};
...
...
This diff is collapsed.
Please
register
or
sign in
to comment