mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-17 08:15:44 +00:00
Small fixes
This commit is contained in:
@@ -37,8 +37,8 @@
|
|||||||
"budgets": [
|
"budgets": [
|
||||||
{
|
{
|
||||||
"type": "initial",
|
"type": "initial",
|
||||||
"maximumWarning": "500kb",
|
"maximumWarning": "1mb",
|
||||||
"maximumError": "1mb"
|
"maximumError": "2mb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "anyComponentStyle",
|
"type": "anyComponentStyle",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
<div *ngFor="let company of game.companies">
|
<div *ngFor="let company of game.companies">
|
||||||
<img *ngIf="company.logoId !== undefined && company.logoId.length > 0" style="height: 52px;"
|
<img *ngIf="company.logoId !== undefined && company.logoId.length > 0" style="height: 52px;"
|
||||||
src="v1/images/{{company.logoId}}" alt="{{company.name}}">
|
src="v1/images/{{company.logoId}}" alt="{{company.name}}">
|
||||||
|
<span *ngIf="company.logoId.length > 0">{{company.name}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import {Component, HostListener} from '@angular/core';
|
|||||||
import {ActivatedRoute, Params, Router} from "@angular/router";
|
import {ActivatedRoute, Params, Router} from "@angular/router";
|
||||||
import {DetectedGameDto} from "../../models/dtos/DetectedGameDto";
|
import {DetectedGameDto} from "../../models/dtos/DetectedGameDto";
|
||||||
import {GamesService} from "../../services/games.service";
|
import {GamesService} from "../../services/games.service";
|
||||||
import {MediaObserver} from "@angular/flex-layout";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-game-detail-view',
|
selector: 'app-game-detail-view',
|
||||||
@@ -17,8 +16,7 @@ export class GameDetailViewComponent {
|
|||||||
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private gamesService: GamesService,
|
private gamesService: GamesService) {
|
||||||
private mediaObserver: MediaObserver) {
|
|
||||||
this.gamesService.getGame(this.route.snapshot.params['slug']).subscribe({
|
this.gamesService.getGame(this.route.snapshot.params['slug']).subscribe({
|
||||||
next: game => this.game = game,
|
next: game => this.game = game,
|
||||||
error: error => {
|
error: error => {
|
||||||
|
|||||||
Reference in New Issue
Block a user