Skip to content

Commit

Permalink
If no back image, don't show card back on print
Browse files Browse the repository at this point in the history
  • Loading branch information
qkmaxware committed Oct 11, 2022
1 parent 5c48007 commit e5f2434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pages/CardIndex.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
@foreach (var card in cards) {
for (var i = 0; i < card.Replicas; i++) {
<img src="@card.FrontUrl" class="card fold-right @size">
@if (!string.IsNullOrEmpty(card.BackUrl)) {
<img src="@card.BackUrl" class="card fold-left @size">
}
}
}
<Instructions></Instructions>
Expand Down

0 comments on commit e5f2434

Please sign in to comment.