From: Chocobozzz Date: Wed, 21 Mar 2018 08:40:57 +0000 (+0100) Subject: Logo/title redirects to the default route X-Git-Tag: v1.0.0-beta.2~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29f9b56205f03c8a1da889fb451da12820d9262e;p=oweals%2Fpeertube.git Logo/title redirects to the default route --- diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 268fa84a6..3ac84d55a 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html @@ -6,7 +6,7 @@
- + {{ instanceName }} diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 84435b5db..b9f7be48c 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -43,6 +43,10 @@ export class AppComponent implements OnInit { return this.serverService.getConfig().instance.name } + get defaultRoute () { + return RedirectService.DEFAULT_ROUTE + } + ngOnInit () { document.getElementById('incompatible-browser').className += ' browser-ok'