mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 11:21:29 +00:00
Optimize avatar (#6991)
* update * update2 * other * other * update * update * Update test_user_avatar.py * Update migrate_avatars_fs2db.py --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
@@ -41,8 +41,7 @@ class FileAccessLog extends React.Component {
|
||||
listFileAccessLog = (page) => {
|
||||
const { repoID, filePath } = this.props;
|
||||
const { perPage, items } = this.state;
|
||||
const avatarSize = 24 * 2;
|
||||
fileAccessLogAPI.listFileAccessLog(repoID, filePath, page, perPage, avatarSize).then((res) => {
|
||||
fileAccessLogAPI.listFileAccessLog(repoID, filePath, page, perPage).then((res) => {
|
||||
const { data: newItems } = res.data;
|
||||
this.setState({
|
||||
isLoading: false,
|
||||
|
Reference in New Issue
Block a user