chore: move to created

This commit is contained in:
Shivam Mishra
2024-10-08 11:53:55 +05:30
parent 7861ce8c47
commit ec17682d7a
+4 -2
View File
@@ -70,7 +70,7 @@ export default {
}
},
currentAccountId() {
console.log('THIS CALL');
console.log('THIS CALL', this.currentAccountId);
if (this.currentAccountId) {
this.initializeAccount();
} else {
@@ -78,10 +78,12 @@ export default {
}
},
},
created() {
this.setLocale(window.chatwootConfig.selectedLocale);
},
mounted() {
this.initializeColorTheme();
this.listenToThemeChanges();
this.setLocale(window.chatwootConfig.selectedLocale);
},
unmounted() {
if (this.reconnectService) {