chore: debug
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user