feat: Render conversation custom attributes (#3065)

This commit is contained in:
Muhsin Keloth
2021-10-30 07:09:46 +05:30
committed by GitHub
parent 69f55a25b6
commit ab77e03c92
32 changed files with 1233 additions and 182 deletions

View File

@@ -69,6 +69,14 @@ export const mutations = {
Vue.set(chat.meta, 'team', team);
},
[types.default.UPDATE_CONVERSATION_CUSTOM_ATTRIBUTES](
_state,
custom_attributes
) {
const [chat] = getSelectedChatConversation(_state);
Vue.set(chat, 'custom_attributes', custom_attributes);
},
[types.default.CHANGE_CONVERSATION_STATUS](
_state,
{ conversationId, status, snoozedUntil }