Skip to content

Commit

Permalink
🚸 : redirect to module description page after import
Browse files Browse the repository at this point in the history
resolves #205
  • Loading branch information
juwit committed Jan 20, 2020
1 parent e505eb5 commit 9e57e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Vue.component('manual-import', {
contentType: "application/json",
method: "POST"
}).then(module => {
window.location = `/modules/${module.id}`
window.location = `/modules/${module.id}/description`
});
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Vue.component('module-import', {
this.isImporting = true;
const id = this.selectedRepository.id ? this.selectedRepository.id : this.selectedRepository.fullName;
$.get(`/api/registries/${this.registry}/repositories/${id}/import`).then(module => {
window.location = `/modules/${module.id}`
window.location = `/modules/${module.id}/description`
})
}
}
Expand Down

0 comments on commit 9e57e2d

Please sign in to comment.