From 05a73f23b2e922de87d37dc101728c94dfee7648 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 15 May 2018 13:27:26 +0200 Subject: update sonar-web dependencies (#239) --- .../src/main/js/apps/webhooks/components/CreateWebhookForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/webhooks') 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 { 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 { name="url" onBlur={handleBlur} onChange={handleChange} - touched={touched.url} + touched={touched.url !== ''} type="text" value={values.url} /> -- cgit v1.2.3