about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/views/stream_entries/_detailed_status.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml
index a751abf3c..946adbd8e 100644
--- a/app/views/stream_entries/_detailed_status.html.haml
+++ b/app/views/stream_entries/_detailed_status.html.haml
@@ -28,9 +28,10 @@
     = link_to TagManager.instance.url_for(status), class: 'detailed-status__datetime u-url u-uid', target: @external_links ? '_blank' : nil, rel: 'noopener' do
       %span= l(status.created_at)
     ·
-    = link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noopener' do
-      %span= status.application.name
-    ·
+    - if status.application
+      = link_to status.application.website, class: 'detailed-status__application', target: @external_links ? '_blank' : nil, rel: 'noopener' do
+        %span= status.application.name
+      ·
     %span
       = fa_icon('retweet')
       %span= status.reblogs.count