We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80fe570 commit b5e874eCopy full SHA for b5e874e
packages/cli/src/commands/import/cancel.ts
@@ -64,8 +64,8 @@ export default class ImportCancelCommand extends AuthCommand {
64
}
65
66
async #selectPlans (plans: ImportPlan[]): Promise<ImportPlan[]> {
67
- const choices: prompts.Choice[] = plans.map(plan => ({
68
- title: `Plan #1 from ${new Date(plan.createdAt)}`,
+ const choices: prompts.Choice[] = plans.map((plan, index) => ({
+ title: `Plan #${index + 1} from ${new Date(plan.createdAt)}`,
69
value: plan.id,
70
description: `ID: ${plan.id}`,
71
}))
0 commit comments