fix(popup): hide q reposts in replies, show them only in quote-repost selection
This commit is contained in:
parent
78e679b7b0
commit
6dcf139989
@ -532,7 +532,10 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => {
|
|||||||
comment={{ event: reply }}
|
comment={{ event: reply }}
|
||||||
/>
|
/>
|
||||||
))
|
))
|
||||||
: commentEvents.map((reply) => (
|
: commentEvents
|
||||||
|
// Filter out events with 'q' tag since we are showing them with a dropdown
|
||||||
|
.filter((r) => r.event.tagValue('q') !== event.id)
|
||||||
|
.map((reply) => (
|
||||||
<Comment key={reply.event.id} comment={reply} />
|
<Comment key={reply.event.id} comment={reply} />
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user