diff --git a/frontend/src/components/ListViews/DealsListView.vue b/frontend/src/components/ListViews/DealsListView.vue index 2a64c20a..7f4e3373 100644 --- a/frontend/src/components/ListViews/DealsListView.vue +++ b/frontend/src/components/ListViews/DealsListView.vue @@ -196,6 +196,7 @@ function bulkActions(selections, unselectAll) { } onMounted(() => { + if (!list.value?.data) return setupBulkActions(list.value.data) customBulkActions.value = list.value?.data?.bulkActions || [] }) diff --git a/frontend/src/components/ListViews/LeadsListView.vue b/frontend/src/components/ListViews/LeadsListView.vue index 9b3b8297..699363c8 100644 --- a/frontend/src/components/ListViews/LeadsListView.vue +++ b/frontend/src/components/ListViews/LeadsListView.vue @@ -205,6 +205,7 @@ function bulkActions(selections, unselectAll) { } onMounted(() => { + if (!list.value?.data) return setupBulkActions(list.value.data) customBulkActions.value = list.value?.data?.bulkActions || [] })