Fix display of "null" for activity location (frontend)

This commit is contained in:
Niklas Deutschmann 2026-04-11 11:28:10 +02:00
parent 339d78e4d5
commit 53c991f1ec

View file

@ -209,7 +209,7 @@ const FitPubTimeline = {
@${this.escapeHtml(activity.username)} @${this.escapeHtml(activity.username)}
</a> </a>
${!activity.isLocal ? ' <span class="badge bg-info ms-1" title="Federated Activity"><i class="bi bi-globe2"></i> Remote</span>' : ''} ${!activity.isLocal ? ' <span class="badge bg-info ms-1" title="Federated Activity"><i class="bi bi-globe2"></i> Remote</span>' : ''}
${this.formatTimeAgo(activity.startedAt)} ${activity.activityLocation} ${this.formatTimeAgo(activity.startedAt)} ${activity.activityLocation ? '•' : ''} ${activity.activityLocation}
</div> </div>
</div> </div>
<div> <div>