diff --git a/src/App.vue b/src/App.vue index c40ce360769..fbb847040c8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -31,7 +31,7 @@ - + @@ -109,8 +109,12 @@ export default { return this.$store.getters.getUserId() }, + isSendingMessages() { + return this.$store.getters.isSendingMessages + }, + warnLeaving() { - return this.$store.getters.isSendingMessages || (!this.isLeavingAfterSessionIssue && this.isInCall) + return !this.isLeavingAfterSessionIssue && this.isInCall }, /**