mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
More comments
This commit is contained in:
@@ -26,7 +26,12 @@ interface InnerProps {
|
||||
asset: AssetData;
|
||||
indentLevel?: number;
|
||||
showAuthPopup: ShowAuthPopupMutation;
|
||||
/**
|
||||
* localReply will integrate the mutation response into
|
||||
* localReplies
|
||||
*/
|
||||
localReply?: boolean;
|
||||
/** disableReplies will remove the ReplyButton */
|
||||
disableReplies?: boolean;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,12 @@ interface InnerProps {
|
||||
comment: CommentData;
|
||||
}
|
||||
|
||||
/**
|
||||
* LocalReplyListContainer renders the replies from the endpoint
|
||||
* `localReplies` instead of `replies`. This is e.g. used for the
|
||||
* ultimate threading level to only display the newly created comments
|
||||
* from the current user.
|
||||
*/
|
||||
export class LocalReplyListContainer extends Component<InnerProps> {
|
||||
public render() {
|
||||
if (!this.props.comment.localReplies) {
|
||||
|
||||
Reference in New Issue
Block a user