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

refactor comment module (#8126)

* refactor comment module

* update menuTool

* update version

* update comment versions

* update versions

* update comment-editor translate

* update comment editor versions

---------

Co-authored-by: yinjianfei <1358009667@com>
This commit is contained in:
yinjianfei-user
2025-08-21 10:01:50 +08:00
committed by GitHub
parent cd8f622e72
commit 34fe4c5341
20 changed files with 8339 additions and 243 deletions

View File

@@ -54,10 +54,7 @@ class CommentPanel extends React.Component {
listRepoRelatedUsers = () => {
seafileAPI.listRepoRelatedUsers(repoID).then((res) => {
let users = res.data.user_list.map((item) => {
return { id: item.email, display: item.name, avatar_url: item.avatar_url, contact_email: item.contact_email };
});
this.setState({ relatedUsers: users });
this.setState({ relatedUsers: res.data.user_list });
});
};