forked from treehouse/mastodon
Add null check on application in dispute viewer (#19851)
parent
ffe735344b
commit
02a34252ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue