fix(popup): hide q reposts in replies, show them only in quote-repost selection
This commit is contained in:
parent
78e679b7b0
commit
6dcf139989
@ -532,9 +532,12 @@ export const CommentsPopup = ({ title }: CommentsPopupProps) => {
|
||||
comment={{ event: reply }}
|
||||
/>
|
||||
))
|
||||
: commentEvents.map((reply) => (
|
||||
<Comment key={reply.event.id} comment={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} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
Loading…
x
Reference in New Issue
Block a user