Fix prompt showing up always (#1556)
This commit is contained in:
parent
ba6aceb096
commit
8ae77f7764
|
|
@ -292,9 +292,10 @@ class CodeEditor extends Component<Props, State> {
|
|||
("dataTreePath" in this.props && !!this.props.dataTreePath));
|
||||
|
||||
const showBindingPrompt =
|
||||
!_.isString(this.props.input.value) ||
|
||||
((!this.props.input.value?.includes("{{") || !this.props.input.value) &&
|
||||
showEvaluatedValue);
|
||||
showEvaluatedValue &&
|
||||
(!_.isString(this.props.input.value) ||
|
||||
!this.props.input.value?.includes("{{") ||
|
||||
!this.props.input.value);
|
||||
|
||||
return (
|
||||
<DynamicAutocompleteInputWrapper
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user