diff --git a/apps/web/src/components/pipeline/DealCard.vue b/apps/web/src/components/pipeline/DealCard.vue index 8374be3..6825ef9 100644 --- a/apps/web/src/components/pipeline/DealCard.vue +++ b/apps/web/src/components/pipeline/DealCard.vue @@ -15,6 +15,8 @@ const props = withDefaults( accent: PipelineAccent; dragging?: boolean; copy?: PipelineUiCopy; + selectMode?: boolean; + selected?: boolean; }>(), { copy: () => DEAL_BOARD_COPY }, ); @@ -24,6 +26,8 @@ const emit = defineEmits<{ dragEnd: []; open: [dealId: string]; menu: [dealId: string]; + toggleSelect: [dealId: string]; + bulkDelete: []; }>(); const showAmount = computed( @@ -42,30 +46,60 @@ const avatarSrc = computed(() => const extraAssignees = computed(() => Math.max(0, (props.deal.assigneeNames?.length ?? 0) - 1), ); +const showTrash = computed(() => props.selectMode && props.selected);