Add null check on application in dispute viewer (#19851)

This commit is contained in:
Jeremy Kescher 2022-11-07 02:40:17 +00:00 committed by Claire
parent cb622b23b1
commit d0c0808ad4
1 changed files with 3 additions and 2 deletions

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
- unless status.application.nil?
·
= status.application.name
- else
.one-liner= t('disputes.strikes.status', id: status_id)
.strike-card__statuses-list__item__meta