mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
allbuild commit /usr/bin/git
This commit is contained in:
parent
f17e685744
commit
bfa30dcdbb
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;
|
||||
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 => {
|
||||
prompt.resolve(value);
|
||||
setPrompt(null);
|
||||
|
Loading…
Reference in New Issue
Block a user