Fix the "existing project" user flow
This commit is contained in:
@ -135,12 +135,11 @@ export const projectsCommandBarConfig: StateMachineCommandSetConfig<
|
|||||||
isDesktop() &&
|
isDesktop() &&
|
||||||
commandsContext.argumentsToSubmit.method === 'existingProject',
|
commandsContext.argumentsToSubmit.method === 'existingProject',
|
||||||
skip: true,
|
skip: true,
|
||||||
options: [],
|
options: (_, context) =>
|
||||||
optionsFromContext: (context) =>
|
context?.projects.map((p) => ({
|
||||||
context.projects.map((p) => ({
|
|
||||||
name: p.name!,
|
name: p.name!,
|
||||||
value: p.name!,
|
value: p.name!,
|
||||||
})),
|
})) || [],
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
inputType: 'string',
|
inputType: 'string',
|
||||||
|
Reference in New Issue
Block a user