mirror of https://github.com/Chocobozzz/PeerTube
Logo/title redirects to the default route
parent
9add00514f
commit
29f9b56205
|
@ -6,7 +6,7 @@
|
|||
<div class="top-left-block" [ngClass]="{ 'border-bottom': isMenuDisplayed === false }">
|
||||
<span class="icon icon-menu" (click)="toggleMenu()"></span>
|
||||
|
||||
<a id="peertube-title" [routerLink]="['/videos/list']" title="Homepage">
|
||||
<a id="peertube-title" [routerLink]="defaultRoute" title="Homepage">
|
||||
<span class="icon icon-logo"></span>
|
||||
<span class="instance-name">{{ instanceName }}</span>
|
||||
</a>
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue