chore: debug

This commit is contained in:
Shivam Mishra
2024-10-08 11:31:33 +05:30
parent 9101e1e221
commit 42fb083491
3 changed files with 5 additions and 4 deletions
+3
View File
@@ -70,8 +70,11 @@ export default {
}
},
currentAccountId() {
console.log('THIS CALL');
if (this.currentAccountId) {
this.initializeAccount();
} else {
console.log('NO ACCOUNT ID');
}
},
},
@@ -95,8 +95,8 @@ export default {
return this.id.toString();
},
},
mounted() {
this.initializeAccount();
async mounted() {
await this.initializeAccount();
},
methods: {
async initializeAccount() {
-2
View File
@@ -98,12 +98,10 @@ export const IFrameHelper = {
},
getAppFrame: () => {
const frame = document.getElementById('chatwoot_live_chat_widget');
console.log('Retrieved app frame:', frame);
return frame;
},
getBubbleHolder: () => {
const holder = document.getElementsByClassName('woot--bubble-holder');
console.log('Retrieved bubble holder:', holder);
return holder;
},
sendMessage: (key, value) => {