mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
fix(frontend): 🐛 Fix typescript errors
This commit is contained in:
parent
7e3a36f2dd
commit
9b79b82c4d
1 changed files with 4 additions and 0 deletions
|
@ -347,17 +347,21 @@ export default defineComponent({
|
|||
computed: {
|
||||
tab: {
|
||||
set(tab) {
|
||||
// @ts-ignore
|
||||
this.$router.replace({ query: { ...this.$route.query, tab } });
|
||||
},
|
||||
get() {
|
||||
// @ts-ignore
|
||||
return this.$route.query.tab;
|
||||
},
|
||||
},
|
||||
recipeUrl: {
|
||||
set(recipe_import_url) {
|
||||
// @ts-ignore
|
||||
this.$router.replace({ query: { ...this.$route.query, recipe_import_url } });
|
||||
},
|
||||
get() {
|
||||
// @ts-ignore
|
||||
return this.$route.query.recipe_import_url;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue