fix(frontend/card): Fix blue oval showing if card doesn't exist

This commit is contained in:
2025-03-10 09:14:28 +01:00
parent 6163103170
commit 59d5a06ca2

View File

@@ -1,10 +1,14 @@
<div class="card" [class.small]="small" [class.selected]="selected"> @if (card.id != 0) {
@for (i of parseCount(); track i) { <div class="card" [class.small]="small" [class.selected]="selected">
<img @for (i of parseCount(); track i) {
[width]="shapeWidth" <img
[src]="shapeFile" [width]="shapeWidth"
alt="Card Image" [src]="shapeFile"
draggable="false" alt="Card Image"
> draggable="false"
} >
</div> }
</div>
} @else {
<div class="card" style="border: 0px; background: transparent;"></div>
}