This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new cf9d5ec  fix: host should not be required (#477)
cf9d5ec is described below

commit cf9d5ec8ed2464201d08e51ec7d9383dae632144
Author: litesun <7sunm...@gmail.com>
AuthorDate: Wed Sep 16 09:57:24 2020 +0800

    fix: host should not be required (#477)
---
 src/pages/Route/components/Step1/RequestConfigView.tsx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pages/Route/components/Step1/RequestConfigView.tsx 
b/src/pages/Route/components/Step1/RequestConfigView.tsx
index 53e4013..6037ada 100644
--- a/src/pages/Route/components/Step1/RequestConfigView.tsx
+++ b/src/pages/Route/components/Step1/RequestConfigView.tsx
@@ -47,7 +47,6 @@ const RequestConfigView: React.FC<Props> = ({ data, disabled, 
onChange }) => {
               <Form.Item
                 {...(index === 0 ? FORM_ITEM_LAYOUT : FORM_ITEM_WITHOUT_LABEL)}
                 label={index === 0 ? formatMessage({ id: 
'route.request.config.domain.name' }) : ''}
-                required
                 key={field.key}
                 extra={
                   index === 0 ? formatMessage({ id: 
'route.request.config.domain.or.ip' }) : ''

Reply via email to