juzhiyuan commented on a change in pull request #991:
URL: https://github.com/apache/apisix-dashboard/pull/991#discussion_r546173937



##########
File path: web/src/pages/Route/Create.tsx
##########
@@ -156,6 +156,7 @@ const Page: React.FC<Props> = (props) => {
           form2={form2}
           upstreamRef={upstreamRef}
           step3Data={step3Data}
+          isEdit={props.route.path.indexOf('edit') > 0}

Review comment:
       ```suggestion
   We may have a helper function to check if the current page is in Edit mode 
in the future
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to