From 3f43c4e6eb019e6ac2e504c310ffac74283113b5 Mon Sep 17 00:00:00 2001 From: scottkiener-at-safelite Date: Thu, 5 Feb 2026 10:40:13 -0500 Subject: [PATCH] Formatting --- .../sierra-webchat/sierra-webchat.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/digital-components/sierra-webchat/sierra-webchat.vue b/src/digital-components/sierra-webchat/sierra-webchat.vue index 9383efe37..0b4381411 100644 --- a/src/digital-components/sierra-webchat/sierra-webchat.vue +++ b/src/digital-components/sierra-webchat/sierra-webchat.vue @@ -45,12 +45,18 @@ export default { display: "corner", onLoad: () => this.openSierraChatModal(), onOpen: () => {}, - onClose: () => {if (!this.transferInProgress) {this.webchatGlobalNonpersistedState.showWebchatButton = true; this.transferInProgress = false;}}, - onTransfer: (transfer) => {this.transferInProgress = true; + onClose: () => { + if (!this.transferInProgress) { + this.webchatGlobalNonpersistedState.showWebchatButton = true; + this.transferInProgress = false; + } + }, + onTransfer: (transfer) => { + this.transferInProgress = true; window.dispatchEvent( - new CustomEvent("sierra-chat-transfer", { detail: transfer }) - ); - }, + new CustomEvent("sierra-chat-transfer", { detail: transfer }) + ); + }, }; }, getSierraContext() {