mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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