mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +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;
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user