mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-29 01:19:41 +05:00
feat: add spoiler/low rating warning for comment
This commit is contained in:
parent
e6271f20d9
commit
c5112e05be
3 changed files with 46 additions and 6 deletions
|
@ -61,6 +61,10 @@ export const CommentsMain = (props: {
|
|||
reply_count: comment.reply_count,
|
||||
likes_count: comment.likes_count,
|
||||
vote: comment.vote,
|
||||
isSpoiler: comment.is_spoiler,
|
||||
isEdited: comment.is_edited,
|
||||
isDeleted: comment.is_deleted,
|
||||
can_like: comment.can_like,
|
||||
}}
|
||||
token={props.token}
|
||||
/>
|
||||
|
@ -181,6 +185,10 @@ const CommentsAllModal = (props: {
|
|||
reply_count: comment.reply_count,
|
||||
likes_count: comment.likes_count,
|
||||
vote: comment.vote,
|
||||
isSpoiler: comment.is_spoiler,
|
||||
isEdited: comment.is_edited,
|
||||
isDeleted: comment.is_deleted,
|
||||
can_like: comment.can_like,
|
||||
}}
|
||||
token={props.token}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue