Fixes API call failing after opening the saved filter (#3932)

This commit is contained in:
Sivin Varghese 2022-02-08 10:11:56 +05:30 committed by GitHub
parent 2a07eae69f
commit d891c1e7b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -368,7 +368,7 @@ export default {
if (this.$route.name !== 'home') {
this.$router.push({ name: 'home' });
}
this.foldersQuery = { payload: payload };
this.foldersQuery = filterQueryGenerator(payload);
this.$store.dispatch('conversationPage/reset');
this.$store.dispatch('emptyAllConversations');
this.fetchFilteredConversations(payload);