Add null check on application in dispute viewer

This commit is contained in:
Jeremy Kescher 2022-11-06 12:48:29 +01:00
parent e326d44f29
commit c2e83b1354
No known key found for this signature in database
GPG key ID: 48DFE4BB15BA5940

View file

@ -59,8 +59,9 @@
= media_attachment.file_file_name
.strike-card__statuses-list__item__meta
%time.formatted{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at)
·
= status.application.name
- if status.application != nil
·
= status.application.name
- else
.one-liner= t('disputes.strikes.status', id: status_id)
.strike-card__statuses-list__item__meta