pass url parmeter to import page

This commit is contained in:
vabene1111 2023-02-16 18:00:48 +01:00
parent 9f360d8af6
commit 744501a65d

View File

@ -504,6 +504,13 @@ export default {
apiClient.retrieveSpace(window.ACTIVE_SPACE_ID).then(r => {
this.use_plural = r.data.use_plural
})
let urlParams = new URLSearchParams(window.location.search)
if (urlParams.has("url")) {
this.website_url = urlParams.get('url')
this.loadRecipe(this.website_url)
}
},
methods: {
/**