Browse Source

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

closed-social-glitch-2
Jeremy Kescher 2 years ago
committed by GitHub
parent
commit
02a34252ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      app/views/disputes/strikes/show.html.haml

+ 3
- 2
app/views/disputes/strikes/show.html.haml 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

Loading…
Cancel
Save