Przeglądaj źródła

Redirect to tasks page on migration recreation

Sergiu Miclea 7 lat temu
rodzic
commit
06f0bfca28

+ 1 - 1
src/components/organisms/EditReplica/EditReplica.jsx

@@ -217,7 +217,7 @@ class EditReplica extends React.Component<Props, State> {
       migrationStore.recreate(this.props.replica, this.props.sourceEndpoint, this.props.destinationEndpoint, updateData)
         .then((migration: MainItem) => {
           migrationStore.clearDetails()
-          window.location.href = `/#/migration/${migration.id}`
+          window.location.href = `/#/migration/tasks/${migration.id}`
           this.props.onRequestClose()
         })
     }