mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
update
This commit is contained in:
@@ -100,6 +100,7 @@ class ViewFileText extends React.Component {
|
||||
getParticipants = () => {
|
||||
seafileAPI.listFileParticipants(repoID, filePath).then((res) => {
|
||||
const participants = res.data.participant_list;
|
||||
if (participants.length === 0) return;
|
||||
this.setState({ participants: participants });
|
||||
this.isParticipant = participants.every((participant) => {
|
||||
return participant.email == username;
|
||||
|
Reference in New Issue
Block a user