e2corporation commented on code in PR #3165:
URL: https://github.com/apache/incubator-devlake/pull/3165#discussion_r977757181


##########
config-ui/src/components/blueprints/transformations/CICD/Deployment.jsx:
##########
@@ -202,95 +190,19 @@ const Deployment = (props) => {
                 <InputGroup
                   id='deploy-tag-production'
                   placeholder='(?i)deploy'
-                  value={transformation?.productionPattern}
+                  value={transformation?.deploymentPattern}
                   onChange={(e) =>
                     onSettingsChange(
-                      { productionPattern: e.target.value },
+                      { deploymentPattern: e.target.value },
                       entityIdKey
                     )
                   }
                   disabled={isSaving}
                   className='input'
                   maxLength={255}
-                  rightElement={
-                    isDeployTagEmpty ? (
-                      <Tooltip
-                        intent={Intent.PRIMARY}
-                        content='Deployment Tag RegEx required'
-                      >
-                        <Icon
-                          icon='warning-sign'
-                          color={Colors.GRAY3}
-                          size={12}
-                          style={{ margin: '8px' }}
-                        />
-                      </Tooltip>
-                    ) : null
-                  }
-                  required
-                />
-              </FormGroup>
-            </div>
-            {/* <div className='formContainer'>

Review Comment:
   I would normally delete it as well, but this may save time in the future 
from having to re-create the inputs again. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to