1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 12:58:34 +00:00

Upload folder notification (#6013)

* upload folder user notification

* update
This commit is contained in:
lian
2024-04-09 22:09:07 +08:00
committed by GitHub
parent 6b880bddfc
commit a80fe2c5ff
8 changed files with 240 additions and 40 deletions

View File

@@ -25,7 +25,8 @@ class SharedUploadLink extends React.Component {
onFileUploadSuccess = (direntObject) => {
const { name } = direntObject;
seafileAPI.shareLinksUploadDone(token, Utils.joinPath(path, name));
const isDir = direntObject.type === 'dir';
seafileAPI.shareLinksUploadDone(token, Utils.joinPath(path, name), isDir);
};
render() {