Procházet zdrojové kódy

Merge pull request #335 from smiclea/migration-redirect

Redirect to tasks page on migration recreation
Dorin Paslaru před 7 roky
rodič
revize
d46a1de5e1

+ 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)
       migrationStore.recreate(this.props.replica, this.props.sourceEndpoint, this.props.destinationEndpoint, updateData)
         .then((migration: MainItem) => {
         .then((migration: MainItem) => {
           migrationStore.clearDetails()
           migrationStore.clearDetails()
-          window.location.href = `/#/migration/${migration.id}`
+          window.location.href = `/#/migration/tasks/${migration.id}`
           this.props.onRequestClose()
           this.props.onRequestClose()
         })
         })
     }
     }