Bugfix: Update conversation counters in realtime (#944)
* Bug: Update conversation counters in realtime
This commit is contained in:
@@ -236,6 +236,15 @@ const actions = {
|
||||
//
|
||||
}
|
||||
},
|
||||
|
||||
getConversationStats: async ({ commit }, params) => {
|
||||
try {
|
||||
const response = await ConversationApi.meta(params);
|
||||
commit(types.default.SET_CONV_TAB_META, response.data.meta);
|
||||
} catch (error) {
|
||||
// Ignore error
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export default actions;
|
||||
|
||||
Reference in New Issue
Block a user