f013e1cf25
handleContextMenu (and the shift-click range-selection path) resolved the target row via props.tasks[index], but index is the row's position in the sorted/rendered row model (table.getRowModel().rows), not the raw prop array — the two orders rarely match once the default created_at sort is applied. This caused right-click (and shift-click) to select the wrong row, corrupting the count shown in TaskBulkActionsMenu. Both call sites now resolve the task from the actual row data instead of an index lookup into the unsorted array, matching the pattern ShotsDataTable.vue already used correctly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>