mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-10 01:15:06 +02:00
Update:Library folder path editable in library edit modal until submit #2150
This commit is contained in:
parent
d7b2476473
commit
ed82a5aa19
2 changed files with 8 additions and 6 deletions
|
@ -120,7 +120,7 @@ export default {
|
|||
for (const key in this.libraryCopy) {
|
||||
if (library[key] !== undefined) {
|
||||
if (key === 'folders') {
|
||||
this.libraryCopy.folders = library.folders.map((f) => ({ ...f }))
|
||||
this.libraryCopy.folders = library.folders.map((f) => ({ ...f })).filter((f) => !!f.fullPath?.trim())
|
||||
} else if (key === 'settings') {
|
||||
for (const settingKey in library.settings) {
|
||||
this.libraryCopy.settings[settingKey] = library.settings[settingKey]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue