chore: more try

This commit is contained in:
Shivam Mishra
2024-10-08 18:14:58 +05:30
parent 412303d1cd
commit 2ba7318817
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -121,6 +121,7 @@ export default {
});
},
setLocale(localeWithVariation) {
console.log('SETTING LOACLE IN WIDGET');
if (!localeWithVariation) return;
const { enabledLanguages } = window.chatwootWebChannel;
const localeWithoutVariation = localeWithVariation.split('_')[0];