mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix error when viewing statuses to deleted replies in moderation view (#32986)
This commit is contained in:
parent
414321d8ff
commit
3d3f89bf84
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
- if @status.reply?
|
||||
%tr
|
||||
%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
|
||||
%th= t('admin.statuses.application')
|
||||
%td= @status.application&.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue