fix: Remove duplicate API calls for conversation (#1419)

This commit is contained in:
Pranav Raj S
2020-11-17 09:15:57 +05:30
committed by GitHub
parent 9d2542eecd
commit 2d70131097
2 changed files with 12 additions and 7 deletions

View File

@@ -184,7 +184,9 @@ export default {
this.fetchConversations();
},
fetchConversations() {
this.$store.dispatch('fetchAllConversations', this.conversationFilters);
this.$store
.dispatch('fetchAllConversations', this.conversationFilters)
.then(() => this.$emit('conversation-load'));
},
updateAssigneeTab(selectedTab) {
if (this.activeAssigneeTab !== selectedTab) {