Skip to content

Commit

Permalink
fix: terminal resets interactive-for state too aggressively
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Nov 9, 2022
1 parent 209f8bf commit d6f1b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/plugin-codeflare/src/controller/terminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class TaskTerminal extends React.PureComponent<Props, State> {
guidebook: props.defaultGuidebook,
noninteractive: props.defaultNoninteractive,
}
} else if (props.defaultNoninteractive !== state.noninteractive) {
} else if (props.defaultNoninteractive !== undefined && props.defaultNoninteractive !== state.noninteractive) {
// different interactivity
return {
ifor: false,
Expand Down

0 comments on commit d6f1b84

Please sign in to comment.