LiteSun commented on a change in pull request #1974:
URL: https://github.com/apache/apisix-dashboard/pull/1974#discussion_r675287634



##########
File path: web/src/components/Plugin/UI/api-breaker.tsx
##########
@@ -39,14 +40,18 @@ const FORM_ITEM_WITHOUT_LABEL = {
   },
 };
 
-const ApiBreaker: React.FC<Props> = ({ form }) => {
+const ApiBreaker: React.FC<Props> = ({ form, schema }) => {
   const { formatMessage } = useIntl()
-
+  const propertires = schema?.properties
+  const un_http_statuses = propertires.unhealthy.properties.http_statuses
+  const un_http_default = un_http_statuses.default
+  const {http_statuses} = propertires.healthy.properties

Review comment:
       ```suggestion
     const { http_statuses } = propertires.healthy.properties
   ```




-- 
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