Fix error when viewing statuses to deleted replies in moderation view (#32986)
This commit is contained in:
parent
447527c154
commit
9ee5872f14
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
- if @status.reply?
|
- if @status.reply?
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.statuses.in_reply_to')
|
%th= t('admin.statuses.in_reply_to')
|
||||||
%td= admin_account_link_to @status.in_reply_to_account, path: admin_account_status_path(@status.thread.account_id, @status.in_reply_to_id)
|
%td= admin_account_link_to @status.in_reply_to_account, path: @status.thread.present? ? admin_account_status_path(@status.thread.account_id, @status.in_reply_to_id) : nil
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.statuses.application')
|
%th= t('admin.statuses.application')
|
||||||
%td= @status.application&.name
|
%td= @status.application&.name
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue