1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 23:56:18 +00:00

[dir view, file view] removed 'participant list' & 'add participant' for 'info panel' & 'comment panel' (#5515)

This commit is contained in:
llj
2023-06-20 15:38:55 +08:00
committed by GitHub
parent 967096b234
commit dd7dc6b368
10 changed files with 5 additions and 391 deletions

View File

@@ -5,7 +5,6 @@ import { processor } from '@seafile/seafile-editor';
import { Button, Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
import { gettext } from '../../utils/constants';
import { seafileAPI } from '../../utils/seafile-api';
import ParticipantsList from './participants-list';
import { Utils } from '../../utils/utils';
import toaster from '../toast';
import { MentionsInput, Mention } from 'react-mentions';
@@ -159,7 +158,7 @@ class CommentPanel extends React.Component {
}
render() {
const { participants, commentsList } = this.state;
const { commentsList } = this.state;
return (
<div className="seafile-comment">
<div className="seafile-comment-title flex-shrink-0">
@@ -190,15 +189,6 @@ class CommentPanel extends React.Component {
}
</div>
<div className="seafile-comment-footer flex-shrink-0">
{participants &&
<ParticipantsList
onParticipantsChange={this.onParticipantsChange}
participants={participants}
repoID={repoID}
filePath={filePath}
showIconTip={true}
/>
}
<MentionsInput
value={this.state.comment}
onChange={this.handleCommentChange}