change this.showToast to showToast (#2746)

This commit is contained in:
ChunkyProgrammer 2022-10-19 03:50:09 -04:00 committed by GitHub
parent 41b3af033b
commit 7819dcd99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ export default Vue.extend({
return this.getChannelVideosLocalScraper(channel, failedAttempts + 1)
case 1:
if (this.backendFallback) {
this.showToast(this.$t('Falling back to Invidious API'))
showToast(this.$t('Falling back to Invidious API'))
return this.getChannelVideosInvidiousRSS(channel, failedAttempts + 1)
} else {
return []
@ -398,7 +398,7 @@ export default Vue.extend({
return this.getChannelVideosInvidiousScraper(channel, failedAttempts + 1)
case 1:
if (this.backendFallback) {
this.showToast(this.$t('Falling back to the local API'))
showToast(this.$t('Falling back to the local API'))
return this.getChannelVideosLocalRSS(channel, failedAttempts + 1)
} else {
return []