Fix the "existing project" user flow

This commit is contained in:
Frank Noirot
2025-01-10 16:11:15 -05:00
parent 83e72dafa3
commit af702ae1b2

View File

@ -135,12 +135,11 @@ export const projectsCommandBarConfig: StateMachineCommandSetConfig<
isDesktop() &&
commandsContext.argumentsToSubmit.method === 'existingProject',
skip: true,
options: [],
optionsFromContext: (context) =>
context.projects.map((p) => ({
options: (_, context) =>
context?.projects.map((p) => ({
name: p.name!,
value: p.name!,
})),
})) || [],
},
name: {
inputType: 'string',