You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/26 17:03:32 UTC

[GitHub] [apisix-dashboard] guoqqqi commented on a change in pull request #1994: feat(plugin): allowing cors to dynamically adapt to the BE rules

guoqqqi commented on a change in pull request #1994:
URL: https://github.com/apache/apisix-dashboard/pull/1994#discussion_r676787154



##########
File path: web/src/components/Plugin/UI/cors.tsx
##########
@@ -156,15 +161,15 @@ const Cors: React.FC<Props> = ({ form }) => {
               ))}
               {
                 <Form.Item {...FORM_ITEM_WITHOUT_LABEL}>
-                  <Button
+                  {fields.length < maxLength? (<Button

Review comment:
       `{fields.length < maxLength && <Button>...</Button>}`
   




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org