Prevent loading for ever in web builds in live chat (#3449)

This commit is contained in:
Emma
2023-04-19 07:37:42 +02:00
committed by GitHub
parent 92d969ba3f
commit 791a289e68
@@ -85,6 +85,7 @@ export default defineComponent({
if (!process.env.IS_ELECTRON) { if (!process.env.IS_ELECTRON) {
this.hasError = true this.hasError = true
this.errorMessage = this.$t('Video["Live Chat is currently not supported in this build."]') this.errorMessage = this.$t('Video["Live Chat is currently not supported in this build."]')
this.isLoading = false
} else { } else {
switch (this.backendPreference) { switch (this.backendPreference) {
case 'local': case 'local':