mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
improve cross instance import
This commit is contained in:
@@ -629,6 +629,7 @@ export default {
|
||||
return axios.post(resolveDjangoUrl('api_recipe_from_source'), payload,).then((response) => {
|
||||
if (response.status === 201 && 'link' in response.data) {
|
||||
window.location = response.data.link
|
||||
return
|
||||
}
|
||||
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user