mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix(frontend): 🐛 Fix typescript errors
This commit is contained in:
parent
7e3a36f2dd
commit
9b79b82c4d
@ -347,17 +347,21 @@ export default defineComponent({
|
|||||||
computed: {
|
computed: {
|
||||||
tab: {
|
tab: {
|
||||||
set(tab) {
|
set(tab) {
|
||||||
|
// @ts-ignore
|
||||||
this.$router.replace({ query: { ...this.$route.query, tab } });
|
this.$router.replace({ query: { ...this.$route.query, tab } });
|
||||||
},
|
},
|
||||||
get() {
|
get() {
|
||||||
|
// @ts-ignore
|
||||||
return this.$route.query.tab;
|
return this.$route.query.tab;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
recipeUrl: {
|
recipeUrl: {
|
||||||
set(recipe_import_url) {
|
set(recipe_import_url) {
|
||||||
|
// @ts-ignore
|
||||||
this.$router.replace({ query: { ...this.$route.query, recipe_import_url } });
|
this.$router.replace({ query: { ...this.$route.query, recipe_import_url } });
|
||||||
},
|
},
|
||||||
get() {
|
get() {
|
||||||
|
// @ts-ignore
|
||||||
return this.$route.query.recipe_import_url;
|
return this.$route.query.recipe_import_url;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user