aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/webhooks
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-05-15 13:27:26 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-15 20:20:50 +0200
commit05a73f23b2e922de87d37dc101728c94dfee7648 (patch)
treedf30cf01bd96ea03a9253d04f8fab17f116a4b2a /server/sonar-web/src/main/js/apps/webhooks
parentc449191069573ef348bdd5a0c43f2593bd84f198 (diff)
downloadsonarqube-05a73f23b2e922de87d37dc101728c94dfee7648.tar.gz
sonarqube-05a73f23b2e922de87d37dc101728c94dfee7648.zip
update sonar-web dependencies (#239)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/webhooks')
-rw-r--r--server/sonar-web/src/main/js/apps/webhooks/components/CreateWebhookForm.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/webhooks/components/CreateWebhookForm.tsx b/server/sonar-web/src/main/js/apps/webhooks/components/CreateWebhookForm.tsx
index 6a76095990f..4b0c3e26e37 100644
--- a/server/sonar-web/src/main/js/apps/webhooks/components/CreateWebhookForm.tsx
+++ b/server/sonar-web/src/main/js/apps/webhooks/components/CreateWebhookForm.tsx
@@ -101,7 +101,7 @@ export default class CreateWebhookForm extends React.PureComponent<Props> {
name="name"
onBlur={handleBlur}
onChange={handleChange}
- touched={touched.name}
+ touched={touched.name !== ''}
type="text"
value={values.name}
/>
@@ -120,7 +120,7 @@ export default class CreateWebhookForm extends React.PureComponent<Props> {
name="url"
onBlur={handleBlur}
onChange={handleChange}
- touched={touched.url}
+ touched={touched.url !== ''}
type="text"
value={values.url}
/>