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
commitb3eb9d934ef6e73ea4f43a9fb7584e948ea9e0b5 (patch)
tree9d15052f848e129f67bd13cadf2064b3cdb60eca /extension/react-app/src/tabs
parentf88c33041755bdf50a3a54c37cc38436a4a7c88f (diff)
downloadsncontinue-b3eb9d934ef6e73ea4f43a9fb7584e948ea9e0b5.tar.gz
sncontinue-b3eb9d934ef6e73ea4f43a9fb7584e948ea9e0b5.tar.bz2
sncontinue-b3eb9d934ef6e73ea4f43a9fb7584e948ea9e0b5.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}