mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 19:32:45 +01:00
Fix library folder check if folder exists and if not then attempt to create folder and set permissions, fix library folder check for changes before saving
This commit is contained in:
1 parent
1c6cd7499b
commit
ff294867f8
2 files changed
+8
-7
No files matched your search
@@ -142,7 +142,7 @@ export default {
|
||||
var updatePayload = {}
|
||||
for (const key in this.libraryCopy) {
|
||||
if (key === 'folders') {
|
||||
if (this.libraryCopy.folders.join(',') !== this.library.folders.join(',')) {
|
||||
if (this.libraryCopy.folders.map((f) => f.fullPath).join(',') !== this.library.folders.map((f) => f.fullPath).join(',')) {
|
||||
updatePayload.folders = [...this.libraryCopy.folders]
|
||||
}
|
||||
} else if (key === 'settings') {
|
||||
|
||||
Reference in new issue
Block a user