allbuild commit /usr/bin/git

This commit is contained in:
Olivier Gagnon 2022-03-17 18:17:19 -04:00
parent f17e685744
commit bfa30dcdbb
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -43,8 +43,8 @@ export function PromptManager(): React.ReactElement {
}; };
let PromptContent = PromptMenuBoolean; let PromptContent = PromptMenuBoolean;
if (prompt?.options?.type) PromptContent = types[prompt?.options?.type]; if (prompt?.options?.type && ["text", "select"].includes(prompt?.options?.type))
PromptContent = types[prompt?.options?.type];
const resolve = (value: boolean | string): void => { const resolve = (value: boolean | string): void => {
prompt.resolve(value); prompt.resolve(value);
setPrompt(null); setPrompt(null);