From 29f9b56205f03c8a1da889fb451da12820d9262e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Mar 2018 09:40:57 +0100 Subject: [PATCH] Logo/title redirects to the default route --- client/src/app/app.component.html | 2 +- client/src/app/app.component.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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' -- 2.41.0