Only grab fields that are needed

This commit is contained in:
2024-07-04 00:27:18 +02:00
parent 344a656056
commit cea4d3d913
2 changed files with 25 additions and 7 deletions

View File

@ -24,7 +24,7 @@
<div class="card-body card-bottom">
{% for drop in campaign.drops %}
<div class="col-6 col-md-4 d-flex align-items-center mb-2 position-relative">
<img src="{{ drop.image_url|default:'https://static-cdn.jtvnw.net/twitch-quests-assets/CAMPAIGN/default.png' }}"
<img src="{{ drop.image_url }}"
alt="{{ drop.name }} drop image"
class="img-fluid rounded me-3"
height="50"