fix: Clear search input which navigating to other tab/page (#2061)
This commit is contained in:
parent
6c7c5064d1
commit
87078e1abf
4 changed files with 33 additions and 6 deletions
|
@ -116,7 +116,7 @@ export default {
|
|||
return this.$store.getters['inboxes/getInbox'](this.activeInbox);
|
||||
},
|
||||
currentPage() {
|
||||
return this.$store.getters['conversationPage/getCurrentPage'](
|
||||
return this.$store.getters['conversationPage/getCurrentPageFilter'](
|
||||
this.activeAssigneeTab
|
||||
);
|
||||
},
|
||||
|
@ -199,6 +199,7 @@ export default {
|
|||
},
|
||||
updateAssigneeTab(selectedTab) {
|
||||
if (this.activeAssigneeTab !== selectedTab) {
|
||||
bus.$emit('clearSearchInput');
|
||||
this.activeAssigneeTab = selectedTab;
|
||||
if (!this.currentPage) {
|
||||
this.fetchConversations();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue