Update: "failed to get" strings

This commit is contained in:
Nicholas Wallace 2024-08-30 11:05:29 -07:00
parent 55b2472978
commit 155e8ce878
8 changed files with 16 additions and 10 deletions

View file

@ -358,12 +358,12 @@ export default {
})
if (!libraryItem) {
this.$toast.error('Failed to get library item')
this.$toast.error(this.$strings.ToastGetLibraryItemFailed)
this.processingGoToTimestamp = false
return
}
if (session.episodeId && !libraryItem.media.episodes.some((ep) => ep.id === session.episodeId)) {
this.$toast.error('Failed to get podcast episode')
this.$toast.error(this.$strings.ToastGetPodcastEpisodeFailed)
this.processingGoToTimestamp = false
return
}