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.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index da3ffef2f..f6d90cb64 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -131,10 +131,18 @@ export class AppComponent implements OnInit, AfterViewInit {
131 this.pluginService.initializeCustomModal(this.customModal) 131 this.pluginService.initializeCustomModal(this.customModal)
132 } 132 }
133 133
134 // ---------------------------------------------------------------------------
135
134 getDefaultRoute () { 136 getDefaultRoute () {
135 return this.redirectService.getDefaultRoute() 137 return this.redirectService.getDefaultRoute().split('?')[0]
138 }
139
140 getDefaultRouteQuery () {
141 return this.router.parseUrl(this.redirectService.getDefaultRoute()).queryParams
136 } 142 }
137 143
144 // ---------------------------------------------------------------------------
145
138 getToggleTitle () { 146 getToggleTitle () {
139 if (this.menu.isDisplayed()) return $localize`Close the left menu` 147 if (this.menu.isDisplayed()) return $localize`Close the left menu`
140 148