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">
@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>
}