From 87ea37f20b50c24f04c31dcd13cf74f24924fb65 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Wed, 22 Dec 2021 14:28:31 -0500 Subject: [PATCH] Change new prop `isVariable` to `showListMessage` to reflect the functionality of the prop --- src/components/prompt/prompt.jsx | 8 ++++---- src/containers/blocks.jsx | 2 +- src/containers/prompt.jsx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/prompt/prompt.jsx b/src/components/prompt/prompt.jsx index b211a5adc..05f2cbbc4 100644 --- a/src/components/prompt/prompt.jsx +++ b/src/components/prompt/prompt.jsx @@ -64,13 +64,13 @@ const PromptComponent = props => (
{props.isStage ?
- {props.isVariable ? ( + {props.showListMessage ? ( ) : ( )}
: @@ -153,7 +153,7 @@ PromptComponent.propTypes = { defaultValue: PropTypes.string, globalSelected: PropTypes.bool.isRequired, isStage: PropTypes.bool.isRequired, - isVariable: PropTypes.bool.isRequired, + showListMessage: PropTypes.bool.isRequired, label: PropTypes.string.isRequired, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx index cd3658ff3..951e0317e 100644 --- a/src/containers/blocks.jsx +++ b/src/containers/blocks.jsx @@ -544,7 +544,7 @@ class Blocks extends React.Component {