diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index 39fc0e9..4054a1b 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -663,11 +663,11 @@ export default { }); }, isLiveAgentChat() { - if (!this.vuex_isTransferChat) return false; - const current = this.currentDMid || ""; - const active = - this.vuex_msgUser && this.vuex_msgUser.dialogueManagementId; - return !!(current && active && String(active) === String(current)); + return !!( + this.vuex_isTransferChat && + this.vuex_msgUser?.dialogueManagementId && + this.vuex_msgUser?.receiverId + ); }, },