Show message when live chat is disabled.
This commit is contained in:
parent
47593618cf
commit
1f85dbe046
|
@ -118,6 +118,9 @@ export default Vue.extend({
|
|||
this.liveChat.on('end', (reason) => {
|
||||
console.log('Live chat has ended')
|
||||
console.log(reason)
|
||||
this.hasError = true
|
||||
this.showEnableChat = false
|
||||
this.errorMessage = 'Chat is disabled or the Live Stream has ended.'
|
||||
})
|
||||
|
||||
this.liveChat.on('error', (err) => {
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
class="errorIcon"
|
||||
/>
|
||||
<ft-button
|
||||
v-if="showEnableChat"
|
||||
label="Enable Live Chat"
|
||||
class="enableLiveChat"
|
||||
@click="enableLiveChat"
|
||||
|
|
Loading…
Reference in New Issue