<span class="icon icon-menu"></span>
</span>
- <a class="peertube-title c-hand" [routerLink]="getDefaultRoute()">
+ <a class="peertube-title c-hand" [routerLink]="getDefaultRoute()" [queryParams]="getDefaultRouteQuery()">
<span class="icon icon-logo"></span>
<span class="instance-name">{{ instanceName }}</span>
</a>
this.pluginService.initializeCustomModal(this.customModal)
}
+ // ---------------------------------------------------------------------------
+
getDefaultRoute () {
- return this.redirectService.getDefaultRoute()
+ return this.redirectService.getDefaultRoute().split('?')[0]
+ }
+
+ getDefaultRouteQuery () {
+ return this.router.parseUrl(this.redirectService.getDefaultRoute()).queryParams
}
+ // ---------------------------------------------------------------------------
+
getToggleTitle () {
if (this.menu.isDisplayed()) return $localize`Close the left menu`