fix: Help Center articles are not available on the widget [CW-2534] (#7954)

This commit is contained in:
Nithin David Thomas
2023-09-21 17:06:15 +05:30
committed by GitHub
parent bdeb2f9812
commit fabb3c8da4
6 changed files with 48 additions and 2 deletions

View File

@@ -111,6 +111,7 @@ export default {
'setWidgetColor',
'setBubbleVisibility',
'setColorScheme',
'setLocale',
]),
...mapActions('conversation', ['fetchOldConversations', 'setUserLastSeen']),
...mapActions('campaign', [
@@ -152,8 +153,10 @@ export default {
if (hasLocaleWithVariation) {
this.$root.$i18n.locale = localeWithVariation;
this.$store.dispatch('appConfig/setLocale', localeWithVariation);
} else if (hasLocaleWithoutVariation) {
this.$root.$i18n.locale = localeWithoutVariation;
this.$store.dispatch('appConfig/setLocale', localeWithoutVariation);
}
},
registerUnreadEvents() {