mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-30 07:07:22 +02:00
Update:iOS deleting downloaded item redirects to downloads page
This commit is contained in:
@@ -373,7 +373,7 @@ export default {
|
|||||||
var res = await AbsFileSystem.deleteItem(this.localLibraryItem)
|
var res = await AbsFileSystem.deleteItem(this.localLibraryItem)
|
||||||
if (res && res.success) {
|
if (res && res.success) {
|
||||||
this.$toast.success('Deleted Successfully')
|
this.$toast.success('Deleted Successfully')
|
||||||
this.$router.replace(this.isIos ? '/bookshelf' : `/localMedia/folders/${this.folderId}`)
|
this.$router.replace(this.isIos ? '/downloads' : `/localMedia/folders/${this.folderId}`)
|
||||||
} else this.$toast.error('Failed to delete')
|
} else this.$toast.error('Failed to delete')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user