about summary refs log tree commit diff
path: root/app/views/disputes/strikes/show.html.haml
diff options
context:
space:
mode:
authorJeremy Kescher <jeremy@kescher.at>2022-11-07 02:40:17 +0000
committerGitHub <noreply@github.com>2022-11-07 03:40:17 +0100
commit02a34252ba21a405e3960da4b65c15a2c8d952f2 (patch)
tree125a21ad48310494f0db20b6aa571af3de01bb35 /app/views/disputes/strikes/show.html.haml
parentffe735344bb47ad2af743ad97729db9ea9c11f60 (diff)
Add null check on application in dispute viewer (#19851)
Diffstat (limited to 'app/views/disputes/strikes/show.html.haml')
-rw-r--r--app/views/disputes/strikes/show.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/disputes/strikes/show.html.haml b/app/views/disputes/strikes/show.html.haml
index 1be50331a..4a3005f72 100644
--- a/app/views/disputes/strikes/show.html.haml
+++ b/app/views/disputes/strikes/show.html.haml
@@ -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