filenames

This commit is contained in:
Vito0912 2025-06-12 12:05:32 +02:00
parent 4e67d56cd5
commit 11cc9f2562
No known key found for this signature in database
GPG key ID: 29A3D509FE70B237
4 changed files with 61 additions and 45 deletions

View file

@ -360,7 +360,7 @@ export default {
// uploading fails if path already exists
for (const item of items) {
const exists = await this.$axios
.$post(`/api/filesystem/pathexists`, { directory: item.directory, folderPath: this.selectedFolder.fullPath })
.$post(`/api/filesystem/pathexists`, { directory: item.directory, folderPath: this.selectedFolder.fullPath, filenames: item.files.map((f) => f.name) })
.then((data) => {
if (data.exists) {
if (data.libraryItemTitle) {