diff --git a/frontend/src/pages/lib-content-view/lib-content-view.js b/frontend/src/pages/lib-content-view/lib-content-view.js index 90786f2657..e409809b94 100644 --- a/frontend/src/pages/lib-content-view/lib-content-view.js +++ b/frontend/src/pages/lib-content-view/lib-content-view.js @@ -193,13 +193,7 @@ class LibContentView extends React.Component { let { path, dirID } = this.state; seafileAPI.dirMetaData(repoID, path).then((res) => { if (res.data.id !== dirID) { - toaster.notify( - - {gettext('This folder has been updated. ')} - {gettext('Refresh')} - , - {id: 'repo_updated', duration: 3600} - ); + this.loadDirentList(this.state.path); } }); }