feat: Add basic support for Web Share Target API (#714)

This commit is contained in:
Krzysztof
2021-10-02 19:09:17 +01:00
committed by GitHub
parent 3f419ad7b6
commit 66fdd6c428
2 changed files with 16 additions and 6 deletions

View File

@@ -166,10 +166,12 @@ export default {
},
mounted() {
if (this.$route.query.recipe_import_url) {
this.addRecipe = true;
this.createRecipe();
}
this.$router.onReady(() => {
if (this.$route.query.recipe_import_url) {
this.addRecipe = true;
this.createRecipe();
}
});
},
computed: {