mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
fix: Help Center articles are not available on the widget [CW-2534] (#7954)
This commit is contained in:
committed by
GitHub
parent
bdeb2f9812
commit
fabb3c8da4
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user