mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 21:58:54 -05:00
also accept text as a parameter for import url
This commit is contained in:
@@ -511,6 +511,10 @@ export default {
|
|||||||
this.website_url = urlParams.get('url')
|
this.website_url = urlParams.get('url')
|
||||||
this.loadRecipe(this.website_url)
|
this.loadRecipe(this.website_url)
|
||||||
}
|
}
|
||||||
|
if (urlParams.has("text")) {
|
||||||
|
this.website_url = urlParams.get('text')
|
||||||
|
this.loadRecipe(this.website_url)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user