mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +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 (
|
return (
|
||||||
<tr key={index}>
|
<tr key={index}>
|
||||||
<td className="text-center">
|
<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>
|
||||||
<td>
|
<td>
|
||||||
<a href={userProfileURL}>{item.author_name}</a>
|
<a href={userProfileURL}>{item.author_name}</a>
|
||||||
@@ -177,8 +177,9 @@ class FilesActivities extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const pageNum = 1
|
const pageNum = 1;
|
||||||
seafileAPI.listActivities(pageNum)
|
const avatarSize = 72;
|
||||||
|
seafileAPI.listActivities(pageNum, avatarSize)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
// not logged in
|
// not logged in
|
||||||
if (res.status == 403) {
|
if (res.status == 403) {
|
||||||
|
Reference in New Issue
Block a user