Skip to content

Commit

Permalink
Address PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Sep 5, 2022
1 parent 9c43891 commit 50b67f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion changelog/unreleased/bugfix-resolve-upload-existing-folder
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Bugfix: Resolve upload existing folder

We've added an conflict dialog when uploading an already existing folder
We've added an conflict dialog when uploading files and folders

https://github.com/owncloud/web/pull/7504
https://github.com/owncloud/web/issues/6996
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,5 @@
"vue-concurrency": {
"built": true
}
},
"resolutions": {
"owncloud-design-system": "portal:/Users/paul/repos/owncloud-design-system"
}
}
4 changes: 2 additions & 2 deletions packages/web-runtime/src/composables/upload/useUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ const createDirectoryTree = ({

let existingFiles
if (unref(isPublicLinkContext)) {
existingFiles = await client.publicFiles.list(`${file.meta.webDavBasePath}/`, unref(publicLinkPassword), DavProperties.Default, 'infinity')
existingFiles = await client.publicFiles.list(`${file.meta.webDavBasePath}/`, unref(publicLinkPassword), DavProperties.Default, 1)
}
existingFiles = await client.files.list(`${file.meta.webDavBasePath}/`, 'infinity', DavProperties.Default)
existingFiles = await client.files.list(`${file.meta.webDavBasePath}/`, 1, DavProperties.Default)
existingFiles = existingFiles.map(buildResource)

if (!directory || createdFolders.includes(directory)) {
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9745,9 +9745,9 @@ __metadata:
languageName: node
linkType: hard

"owncloud-design-system@portal:/Users/paul/repos/owncloud-design-system::locator=root-workspace-0b6124%40workspace%3A.":
version: 0.0.0-use.local
resolution: "owncloud-design-system@portal:/Users/paul/repos/owncloud-design-system::locator=root-workspace-0b6124%40workspace%3A."
"owncloud-design-system@npm:14.0.0-alpha.16":
version: 14.0.0-alpha.16
resolution: "owncloud-design-system@npm:14.0.0-alpha.16"
peerDependencies:
"@popperjs/core": ^2.4.0
"@vue/composition-api": ^1.4.3
Expand All @@ -9764,8 +9764,9 @@ __metadata:
vue-inline-svg: ^2.0.0
vue-select: ^3.12.0
webfontloader: ^1.6.28
checksum: 182d05099f648cf93abe997fcbea15064630be311fce788e467ca33f96a3918dc39c1f31a9d8ca1ce4c30765a799799b18fad88f00d28b236dac271582f6d396
languageName: node
linkType: soft
linkType: hard

"owncloud-sdk@npm:~3.0.0-alpha.15":
version: 3.0.0-alpha.15
Expand Down

0 comments on commit 50b67f3

Please sign in to comment.