mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
update call api
This commit is contained in:
@@ -13,7 +13,7 @@ class Notification extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
seafileAPI.getUnseenCount().then(res => {
|
seafileAPI.getUnseenNotificationCount().then(res => {
|
||||||
this.setState({unseenCount: res.data.unseen_count});
|
this.setState({unseenCount: res.data.unseen_count});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user