chore: Fix sidebar activeOn issue

This commit is contained in:
iamsivin
2024-11-12 11:39:59 +05:30
parent 1dd690e8f9
commit 7aa22eabf8
3 changed files with 31 additions and 29 deletions
@@ -166,6 +166,8 @@ watch(activeSegment, () => {
onMounted(async () => {
if (!activeSegmentId.value) {
await fetchContacts();
} else if (activeSegment.value && activeSegmentId.value) {
fetchSavedFilteredContact(activeSegment.value.query);
}
});
</script>