added OP indicator

This commit is contained in:
plebbitor
2023-04-17 21:07:38 +02:00
parent 0ccf6327e1
commit f1a2d543ee
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -615,7 +615,7 @@ const Thread = () => {
<blockquote key={`pm-${reply.cid}`} className="post-message">
<Link to={() => {}} className="quote-link"
onClick={(event) => handleQuoteClick(reply, shortParentCid, event)}>
{`c/${shortParentCid}`}{<br />}
{`c/${shortParentCid}`}{shortParentCid === comment.shortCid ? " (OP)" : null}
</Link>
<Post content={reply.content} comment={reply} handlequoteclick={handleQuoteClick} key={`post-${reply.cid}`} />
</blockquote>
@@ -763,7 +763,7 @@ const Thread = () => {
<blockquote key={`mob-pm-${reply.cid}`} className="post-message-mobile">
<Link to={() => {}} key={`mob-ql-${reply.cid}`} className="quotelink-mobile"
onClick={(event) => handleQuoteClick(reply, event)}>
{`c/${shortParentCid}`}{<br />}
{`c/${shortParentCid}`}{shortParentCid === comment.shortCid ? " (OP)" : null}
</Link>
<Post content={reply.content} comment={reply} handlequoteclick={handleQuoteClick} key={`post-mobile-${reply.cid}`} />
</blockquote>