mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 18:05:06 +08:00
Merge pull request #885 from coralproject/subscriber
Adding new Slot: commentAuthorTags
This commit is contained in:
@@ -447,6 +447,14 @@ export default class Comment extends React.Component {
|
||||
|
||||
{isStaff(comment.tags) ? <TagLabel>Staff</TagLabel> : null}
|
||||
|
||||
<Slot
|
||||
className={cn('talk-stream-comment-author-tags')}
|
||||
fill="commentAuthorTags"
|
||||
queryData={queryData}
|
||||
{...slotProps}
|
||||
inline
|
||||
/>
|
||||
|
||||
<span className={`${styles.bylineSecondary} talk-stream-comment-user-byline`} >
|
||||
<PubDate created_at={comment.created_at} className={'talk-stream-comment-published-date'} />
|
||||
{
|
||||
|
||||
@@ -16,7 +16,8 @@ const slots = [
|
||||
'commentContent',
|
||||
'commentReactions',
|
||||
'commentAvatar',
|
||||
'commentAuthorName'
|
||||
'commentAuthorName',
|
||||
'commentAuthorTags'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user