fix: Throwing error when click load more conversation (#4049)
This commit is contained in:
@@ -219,7 +219,7 @@ export default {
|
|||||||
folders: 'customViews/getCustomViews',
|
folders: 'customViews/getCustomViews',
|
||||||
}),
|
}),
|
||||||
hasAppliedFilters() {
|
hasAppliedFilters() {
|
||||||
return this.appliedFilters.length;
|
return this.appliedFilters.length !== 0;
|
||||||
},
|
},
|
||||||
hasActiveFolders() {
|
hasActiveFolders() {
|
||||||
return this.activeFolder && this.foldersId !== 0;
|
return this.activeFolder && this.foldersId !== 0;
|
||||||
@@ -460,7 +460,8 @@ export default {
|
|||||||
if (this.hasActiveFolders) {
|
if (this.hasActiveFolders) {
|
||||||
const payload = this.activeFolder.query;
|
const payload = this.activeFolder.query;
|
||||||
this.fetchSavedFilteredConversations(payload);
|
this.fetchSavedFilteredConversations(payload);
|
||||||
} else {
|
}
|
||||||
|
if (this.hasAppliedFilters) {
|
||||||
this.fetchFilteredConversations(this.appliedFilters);
|
this.fetchFilteredConversations(this.appliedFilters);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user