opg => fwd

This commit is contained in:
keyan 2023-09-27 13:20:16 -05:00
parent cfb8fa7014
commit b6cb895871
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ export default function Comment ({
const op = root.user.name === item.user.name && Number(item.user.id) !== ANON_USER_ID
? 'OP'
: root.forwards?.some(f => f.user.name === item.user.name) && Number(item.user.id) !== ANON_USER_ID
? 'OPG'
? 'fwd'
: null
const bountyPaid = root.bountyPaidTo?.includes(Number(item.id))
@ -155,7 +155,7 @@ export default function Comment ({
commentsText='replies'
commentTextSingular='reply'
className={`${itemStyles.other} ${styles.other}`}
embellishUser={op && <><span> </span><Badge bg='boost' className={`${styles.op} bg-opacity-75`}>{op}</Badge></>}
embellishUser={op && <><span> </span><Badge bg={op === 'fwd' ? 'secondary' : 'boost'} className={`${styles.op} bg-opacity-75`}>{op}</Badge></>}
extraInfo={
<>
{includeParent && <Parent item={item} rootText={rootText} />}