HH-547: allow cross-origin widget requests (#126)
* HH-547: allow cross-origin widget requests * fix(HH-547): align production preflight with wildcard CORS --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -186,7 +186,8 @@ export const actions = {
|
||||
commit('toggleAgentTypingStatus', data);
|
||||
},
|
||||
|
||||
toggleUserTyping: async (_, data) => {
|
||||
toggleUserTyping: async ({ getters }, data) => {
|
||||
if (!getters.getConversationSize) return;
|
||||
try {
|
||||
await toggleTyping(data);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user