Skip to content

Commit

Permalink
fix: only add convert to deal bulk action on leads listview
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Aug 5, 2024
1 parent 2b5fd93 commit a5fef2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ListBulkActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function bulkActions(selections, unselectAll) {
})
}
if (!props.options.hideDelete) {
if (props.doctype === 'CRM Lead') {
actions.push({
label: __('Convert to Deal'),
onClick: () => convertToDeal(selections, unselectAll),
Expand Down

0 comments on commit a5fef2f

Please sign in to comment.