Skip to content

Commit

Permalink
fix: email & comments not loading in respective tab
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Oct 24, 2024
1 parent e9b448a commit fd23d66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Activities/Activities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -652,12 +652,12 @@ const activities = computed(() => {
_activities = get_activities()
} else if (title.value == 'Emails') {
if (!all_activities.data?.versions) return []
activities = all_activities.data.versions.filter(
_activities = all_activities.data.versions.filter(
(activity) => activity.activity_type === 'communication',
)
} else if (title.value == 'Comments') {
if (!all_activities.data?.versions) return []
activities = all_activities.data.versions.filter(
_activities = all_activities.data.versions.filter(
(activity) => activity.activity_type === 'comment',
)
} else if (title.value == 'Calls') {
Expand Down

0 comments on commit fd23d66

Please sign in to comment.