mirror of
https://github.com/Wessel/nhl-setgame.git
synced 2026-06-06 00:05:42 +02:00
fix(frontend/card): Fix blue oval showing if card doesn't exist
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
<div class="card" [class.small]="small" [class.selected]="selected">
|
||||
@for (i of parseCount(); track i) {
|
||||
<img
|
||||
[width]="shapeWidth"
|
||||
[src]="shapeFile"
|
||||
alt="Card Image"
|
||||
draggable="false"
|
||||
>
|
||||
}
|
||||
</div>
|
||||
@if (card.id != 0) {
|
||||
<div class="card" [class.small]="small" [class.selected]="selected">
|
||||
@for (i of parseCount(); track i) {
|
||||
<img
|
||||
[width]="shapeWidth"
|
||||
[src]="shapeFile"
|
||||
alt="Card Image"
|
||||
draggable="false"
|
||||
>
|
||||
}
|
||||
</div>
|
||||
} @else {
|
||||
<div class="card" style="border: 0px; background: transparent;"></div>
|
||||
}
|
||||
Reference in New Issue
Block a user