Skip to content

Commit

Permalink
Merge pull request #568 from fengyangsy/issue-#567
Browse files Browse the repository at this point in the history
Route error returning to the network list page

Close #567
  • Loading branch information
yeasy authored Oct 16, 2023
2 parents 4a63a85 + e8486d4 commit 45d6c47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dashboard/src/pages/Network/newNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { Option } = Select;
}))
class CreateNetwork extends React.Component {
clickCancel = () => {
history.push('/operator/network');
history.push('/network');
};

submitCallback = data => {
Expand All @@ -31,7 +31,7 @@ class CreateNetwork extends React.Component {
}
)
);
history.push('/operator/network');
history.push('/network');
} else {
message.error(
intl.formatMessage(
Expand Down

0 comments on commit 45d6c47

Please sign in to comment.