Browse Source

Fix error when displaying post history of a trendable post in the admin interface (#23574)

closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
f94aa70b81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/admin/statuses/show.html.haml

+ 1
- 1
app/views/admin/statuses/show.html.haml View File

@ -34,7 +34,7 @@
%td
- if @status.trend.allowed?
%abbr{ title: t('admin.trends.tags.current_score', score: @status.trend.score) }= t('admin.trends.tags.trending_rank', rank: @status.trend.rank)
- elsif @status.trend.requires_review?
- elsif @status.requires_review?
= t('admin.trends.pending_review')
- else
= t('admin.trends.not_allowed_to_trend')

Loading…
Cancel
Save