try bypass polyfill problem in old safari

This commit is contained in:
cyber-dream 2022-10-18 20:24:12 +03:00
parent d0313ad119
commit 902dca5cc2

View File

@ -1,4 +1,4 @@
<div class="games">
<app-game-item [active]="game.gameId === activeGame?.gameId" *ngFor="let game of games; index as i" [game]="game" (click)="activeGame = game"></app-game-item>
<app-game-item [active]="activeGame != null && game.gameId === activeGame.gameId" *ngFor="let game of games; index as i" [game]="game" (click)="activeGame = game"></app-game-item>
</div>
<app-game-info *ngIf="activeGame !== null" [game]="activeGame"></app-game-info>