Shivam Mishra
2024-10-02 13:06:30 +05:30
committed by GitHub
parent e0bf2bd9d4
commit 42f6621afb
661 changed files with 15939 additions and 31194 deletions

View File

@@ -1,5 +1,3 @@
import Vue from 'vue';
import AssignableAgentsAPI from '../../api/assignableAgents';
const state = {
@@ -52,7 +50,10 @@ export const mutations = {
};
},
[types.SET_INBOX_ASSIGNABLE_AGENTS]: ($state, { inboxId, members }) => {
Vue.set($state.records, inboxId, members);
$state.records = {
...$state.records,
[inboxId]: members,
};
},
};