Updates to LibraryController to use new Library model

- Additional validation on API endpoints
- Removed success toast when reorder libraries
This commit is contained in:
advplyr committed 2024-08-24 15:38:15 -05:00
1 parent e0de59a4b6
commit 5d13faef33
12 files changed
+260 -169

No files matched your search

+1 -1
View File
@@ -1268,7 +1268,7 @@ async function handleOldLibraries(ctx) {
return false
}
const folderPaths = ol.folders?.map((f) => f.fullPath) || []
return folderPaths.join(',') === library.folderPaths.join(',')
return folderPaths.join(',') === library.folders.map((f) => f.fullPath).join(',')
})
if (matchingOldLibrary) {