Formatting

This commit is contained in:
scottkiener-at-safelite 2026-02-05 10:40:13 -05:00
parent 564d3aa506
commit 3f43c4e6eb

View file

@ -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() {