summaryrefslogtreecommitdiff
path: root/extension/react-app/src/tabs
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-05 01:51:46 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-05 01:51:46 -0700
commitc5cee3f4c40e7ff00265929b3a593d62b4b50ada (patch)
tree6d72f17a51b0808ce7819edf6d6935d95a9034ed /extension/react-app/src/tabs
parent461fd4df95c31010871cc4ea7707606fb3a14fb4 (diff)
downloadsncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.tar.gz
sncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.tar.bz2
sncontinue-c5cee3f4c40e7ff00265929b3a593d62b4b50ada.zip
details
Diffstat (limited to 'extension/react-app/src/tabs')
-rw-r--r--extension/react-app/src/tabs/gui.tsx18
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}