mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Fixed bug in previous bugfix Part II - Electric Bogaloo
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import {Component, Inject} from '@angular/core';
|
||||
import {Component} from '@angular/core';
|
||||
import {LibraryService} from "../../services/library.service";
|
||||
import {MatSnackBar} from '@angular/material/snack-bar';
|
||||
import {timeInterval} from "rxjs";
|
||||
import {Router} from "@angular/router";
|
||||
import {GamesService} from "../../services/games.service";
|
||||
import {ThemingService} from "../../services/theming.service";
|
||||
import {DOCUMENT, Location} from '@angular/common';
|
||||
import {Location} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-header',
|
||||
@@ -51,7 +51,7 @@ export class HeaderComponent {
|
||||
}
|
||||
|
||||
onLibraryScreen(): boolean {
|
||||
return this.router.url.startsWith("/library&") || this.router.url === "/library";
|
||||
return this.router.url.startsWith("/library?") || this.router.url === "/library";
|
||||
}
|
||||
|
||||
onLibraryManagementScreen(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user