batman-ezio commented on a change in pull request #1558:
URL: https://github.com/apache/apisix-dashboard/pull/1558#discussion_r596545088
##########
File path: web/src/pages/Route/List.tsx
##########
@@ -387,6 +387,9 @@ const Page: React.FC = () => {
}}>
{formatMessage({ id: 'component.global.view' })}
</Button>
+ <Button type="primary" onClick={() =>
history.push(`/routes/${record.id}/duplicate`)}>
Review comment:
we can't do that because the route name is unique, we need to take user
to `/routes/:rid/duplicate` and fill the copied data, user needs to change the
name and then get next to submit
----------------------------------------------------------------
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]