mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-22 19:59:37 +00:00
filenames
This commit is contained in:
parent
4e67d56cd5
commit
11cc9f2562
4 changed files with 61 additions and 45 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue