mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 04:31:43 +08:00
bugfix: when expanding "1 person flagged for moderation" target post is not clickable
This commit is contained in:
parent
858e51c8ab
commit
df5f9d66e5
|
@ -14,7 +14,7 @@ class PostActionUserSerializer < BasicUserSerializer
|
|||
end
|
||||
|
||||
def post_url
|
||||
object.related_post_id
|
||||
object.related_post.url if object.related_post.id
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user