mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-03-04 07:59:56 -08: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?
|
- 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…
Add table
Add a link
Reference in a new issue