mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
modify-files-activities (#2386)
This commit is contained in:
committed by
Daniel Pan
parent
ba583d6efd
commit
d18dea8c0b
@@ -143,7 +143,7 @@ class TableBody extends Component {
|
||||
return (
|
||||
<tr key={index}>
|
||||
<td className="text-center">
|
||||
<img src={item.avatar_url} alt="" width="24" className="avatar" />
|
||||
<img src={item.avatar_url} alt="" width="36px" height="36px" className="avatar" />
|
||||
</td>
|
||||
<td>
|
||||
<a href={userProfileURL}>{item.author_name}</a>
|
||||
@@ -177,8 +177,9 @@ class FilesActivities extends Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
const pageNum = 1
|
||||
seafileAPI.listActivities(pageNum)
|
||||
const pageNum = 1;
|
||||
const avatarSize = 72;
|
||||
seafileAPI.listActivities(pageNum, avatarSize)
|
||||
.then(res => {
|
||||
// not logged in
|
||||
if (res.status == 403) {
|
||||
|
Reference in New Issue
Block a user