aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 75f4bdfe6..3d1026ac4 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -103,6 +103,12 @@ export class AppComponent implements OnInit, AfterViewInit {
103 this.pluginService.initializeCustomModal(this.customModal) 103 this.pluginService.initializeCustomModal(this.customModal)
104 } 104 }
105 105
106 getToggleTitle () {
107 if (this.menu.isDisplayed()) return $localize`Close the left menu`
108
109 return $localize`Open the left menu`
110 }
111
106 isUserLoggedIn () { 112 isUserLoggedIn () {
107 return this.authService.isLoggedIn() 113 return this.authService.isLoggedIn()
108 } 114 }