mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 13:54:01 +02:00
Remove commented out toasts
This commit is contained in:
@@ -316,9 +316,6 @@ export default {
|
||||
if (value) {
|
||||
const res = await AbsFileSystem.deleteTrackFromItem({ id: this.localLibraryItemId, trackLocalFileId: localFile.id, trackContentUrl: localEpisodeAudioTrack.contentUrl })
|
||||
if (res?.id) {
|
||||
|
||||
// this.$toast.success('Deleted episode successfully')
|
||||
|
||||
if (this.isLocal) {
|
||||
// If this is local episode then redirect to server episode when available
|
||||
if (this.serverEpisodeId) {
|
||||
@@ -513,9 +510,6 @@ export default {
|
||||
this.$nativeHttp
|
||||
.delete(`/api/podcasts/${this.serverLibraryItemId}/episode/${this.serverEpisodeId}?hard=1`)
|
||||
.then(() => {
|
||||
|
||||
//this.$toast.success('Episode deleted from server')
|
||||
|
||||
this.$router.replace(`/item/${this.serverLibraryItemId}`)
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user