aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/menu
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/menu')
-rw-r--r--client/src/app/core/menu/menu.component.html2
-rw-r--r--client/src/app/core/menu/menu.component.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/core/menu/menu.component.html b/client/src/app/core/menu/menu.component.html
index 63a1c03c5..fb4c4a6a9 100644
--- a/client/src/app/core/menu/menu.component.html
+++ b/client/src/app/core/menu/menu.component.html
@@ -14,7 +14,7 @@
14 </a> 14 </a>
15 </div> 15 </div>
16 16
17 <a *ngIf="!isLoggedIn && isRegistrationEnabled()" routerLink="/signup" routerLinkActive="active"> 17 <a *ngIf="!isLoggedIn && isRegistrationAllowed()" routerLink="/signup" routerLinkActive="active">
18 <span class="hidden-xs glyphicon glyphicon-user"></span> 18 <span class="hidden-xs glyphicon glyphicon-user"></span>
19 Signup 19 Signup
20 </a> 20 </a>
diff --git a/client/src/app/core/menu/menu.component.ts b/client/src/app/core/menu/menu.component.ts
index b725f64a7..669fc6572 100644
--- a/client/src/app/core/menu/menu.component.ts
+++ b/client/src/app/core/menu/menu.component.ts
@@ -36,8 +36,8 @@ export class MenuComponent implements OnInit {
36 ) 36 )
37 } 37 }
38 38
39 isRegistrationEnabled () { 39 isRegistrationAllowed () {
40 return this.configService.getConfig().signup.enabled 40 return this.configService.getConfig().signup.allowed
41 } 41 }
42 42
43 isUserAdmin () { 43 isUserAdmin () {