Spaces:
Runtime error
Runtime error
adds error treat
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -833,7 +833,7 @@
|
|
| 833 |
const dateStr = dt ? dt.toLocaleDateString('en-US', {day:'2-digit', month:'short', year:'numeric'}) : '';
|
| 834 |
const label = helpTypeLabels[h.help_type] || '<i data-lucide="heart"></i> Helped';
|
| 835 |
return '<div class="help-event-card">'
|
| 836 |
-
+ (h.photo_url ? '<img class="help-event-photo" src="' + h.photo_url + '" alt="help proof" onerror="this.style.display='none'"/>' : '')
|
| 837 |
+ '<div class="help-event-body">'
|
| 838 |
+ '<div class="help-event-label">' + label + '</div>'
|
| 839 |
+ (h.notes ? '<div class="help-event-notes">' + h.notes + '</div>' : '')
|
|
|
|
| 833 |
const dateStr = dt ? dt.toLocaleDateString('en-US', {day:'2-digit', month:'short', year:'numeric'}) : '';
|
| 834 |
const label = helpTypeLabels[h.help_type] || '<i data-lucide="heart"></i> Helped';
|
| 835 |
return '<div class="help-event-card">'
|
| 836 |
+
+ (h.photo_url ? '<img class="help-event-photo" src="' + h.photo_url + '" alt="help proof" onerror="this.style.display=\'none\'"/>' : '')
|
| 837 |
+ '<div class="help-event-body">'
|
| 838 |
+ '<div class="help-event-label">' + label + '</div>'
|
| 839 |
+ (h.notes ? '<div class="help-event-notes">' + h.notes + '</div>' : '')
|