mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +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 {LibraryService} from "../../services/library.service";
|
||||||
import {MatSnackBar} from '@angular/material/snack-bar';
|
import {MatSnackBar} from '@angular/material/snack-bar';
|
||||||
import {timeInterval} from "rxjs";
|
import {timeInterval} from "rxjs";
|
||||||
import {Router} from "@angular/router";
|
import {Router} from "@angular/router";
|
||||||
import {GamesService} from "../../services/games.service";
|
import {GamesService} from "../../services/games.service";
|
||||||
import {ThemingService} from "../../services/theming.service";
|
import {ThemingService} from "../../services/theming.service";
|
||||||
import {DOCUMENT, Location} from '@angular/common';
|
import {Location} from '@angular/common';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-header',
|
selector: 'app-header',
|
||||||
@@ -51,7 +51,7 @@ export class HeaderComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onLibraryScreen(): boolean {
|
onLibraryScreen(): boolean {
|
||||||
return this.router.url.startsWith("/library&") || this.router.url === "/library";
|
return this.router.url.startsWith("/library?") || this.router.url === "/library";
|
||||||
}
|
}
|
||||||
|
|
||||||
onLibraryManagementScreen(): boolean {
|
onLibraryManagementScreen(): boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user