diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-05 01:51:46 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-05 01:51:46 -0700 |
commit | c5cee3f4c40e7ff00265929b3a593d62b4b50ada (patch) | |
tree | 6d72f17a51b0808ce7819edf6d6935d95a9034ed /extension/react-app/src/tabs/gui.tsx | |
parent | 461fd4df95c31010871cc4ea7707606fb3a14fb4 (diff) | |
download | sncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.tar.gz sncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.tar.bz2 sncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.zip |
details
Diffstat (limited to 'extension/react-app/src/tabs/gui.tsx')
-rw-r--r-- | extension/react-app/src/tabs/gui.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx index 851045d5..e5320c6a 100644 --- a/extension/react-app/src/tabs/gui.tsx +++ b/extension/react-app/src/tabs/gui.tsx @@ -295,14 +295,16 @@ function GUI(props: GUIProps) { )} {history?.timeline.map((node: HistoryNode, index: number) => { return node.step.name === "User Input" ? ( - <UserInputContainer - onDelete={() => { - client?.deleteAtIndex(index); - }} - historyNode={node} - > - {node.step.description as string} - </UserInputContainer> + node.step.hide || ( + <UserInputContainer + onDelete={() => { + client?.deleteAtIndex(index); + }} + historyNode={node} + > + {node.step.description as string} + </UserInputContainer> + ) ) : ( <StepContainer isLast={index === history.timeline.length - 1} |