1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

support rename Wiki (#6142)

* 01 UI support rename Wiki

* rename wiki

* old wiki support rename

* fix wiki-v1 and wiki-v2 have same id

* fix format

---------

Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
This commit is contained in:
Michael An
2024-05-31 10:59:59 +08:00
committed by GitHub
parent abdf2ebb0c
commit 7ea5517e40
24 changed files with 264 additions and 21 deletions

View File

@@ -615,7 +615,7 @@ class FileUploader extends React.Component {
resumableFile.bootstrap();
var firedRetry = false;
resumableFile.resumableObj.on('chunkingComplete', () => {
if(!firedRetry) {
if (!firedRetry) {
seafileAPI.getFileUploadedBytes(repoID, path, fileName).then(res => {
let uploadedBytes = res.data.uploadedBytes;
let blockSize = parseInt(resumableUploadFileBlockSize) * 1024 * 1024 || 1024 * 1024;