mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
commit
7128330bf5
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