Filter for live conversations

This commit is contained in:
Pranav
2024-02-13 14:36:04 -08:00
parent 1a272e7a18
commit bcd5633d2a
11 changed files with 288 additions and 52 deletions
@@ -131,10 +131,10 @@ export const actions = {
commit(types.default.TOGGLE_ACCOUNT_REPORT_LOADING, false);
});
},
fetchLiveConversationMetric({ commit }) {
fetchLiveConversationMetric({ commit }, params = {}) {
commit(types.default.TOGGLE_ACCOUNT_CONVERSATION_METRIC_LOADING, true);
liveReports
.getConversationMetric()
.getConversationMetric(params)
.then(accountConversationMetric => {
commit(
types.default.SET_ACCOUNT_CONVERSATION_METRIC,