Update:iOS deleting downloaded item redirects to downloads page

This commit is contained in:
advplyr 2023-06-20 16:34:44 -05:00
parent 48342e5bd3
commit 46b82a81ce

View file

@ -373,7 +373,7 @@ export default {
var res = await AbsFileSystem.deleteItem(this.localLibraryItem)
if (res && res.success) {
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')
}
},