Closed jobezic closed 3 years ago
If I shutdown Intercom through this.$intercom.shutdown() when leaving the page where it's used and then I boot it again, the this.$intercom.visible does not trigger more. This is the chunk of code from my case:
this.$intercom.shutdown()
this.$intercom.visible
computed: { isVisible() { return this.$intercom.visible } }, watch: { isVisible() { console.log('triggered!') } }, mounted() { this.$intercom.boot({ user_id: this.userId, name: this.name, email: this.email }) this.$intercom.show() }, beforeDestroy() { this.$intercom.shutdown() }
If I shutdown Intercom through
this.$intercom.shutdown()
when leaving the page where it's used and then I boot it again, thethis.$intercom.visible
does not trigger more. This is the chunk of code from my case: