diff --git a/frontend/components/Domain/Recipe/RecipeContextMenu.vue b/frontend/components/Domain/Recipe/RecipeContextMenu.vue index f44cae50..6220d898 100644 --- a/frontend/components/Domain/Recipe/RecipeContextMenu.vue +++ b/frontend/components/Domain/Recipe/RecipeContextMenu.vue @@ -246,8 +246,7 @@ export default defineComponent({ const { share, isSupported: shareIsSupported } = useShare(); - const source = ref(""); - const { copy } = useClipboard({ source }); + const { copy } = useClipboard(); async function handleShareEvent() { if (shareIsSupported) { diff --git a/frontend/composables/recipes/use-recipes.ts b/frontend/composables/recipes/use-recipes.ts index 3729464d..95f51b6b 100644 --- a/frontend/composables/recipes/use-recipes.ts +++ b/frontend/composables/recipes/use-recipes.ts @@ -100,6 +100,7 @@ export const useRecipes = (all = false, fetchRecipes = true) => { async function refreshRecipes() { const { data } = await api.recipes.getAll(start, end); if (data) { + // @ts-ignore set(recipes, data); } } diff --git a/frontend/composables/use-backups.ts b/frontend/composables/use-backups.ts index 35b69814..07518f60 100644 --- a/frontend/composables/use-backups.ts +++ b/frontend/composables/use-backups.ts @@ -11,6 +11,7 @@ const backups = ref({ function setBackups(newBackups: AllBackups | null) { if (newBackups) { + // @ts-ignore set(backups, newBackups); } } diff --git a/frontend/pages/admin/parser.vue b/frontend/pages/admin/parser.vue index 002e8192..866161b3 100644 --- a/frontend/pages/admin/parser.vue +++ b/frontend/pages/admin/parser.vue @@ -147,8 +147,8 @@ export default defineComponent({ // for the parser. For now we'll leave it like this properties.comment.value = data.ingredient.note || ""; properties.quantity.value = data.ingredient.quantity || ""; - properties.unit.value = data.ingredient.unit.name || ""; - properties.food.value = data.ingredient.food.name || ""; + properties.unit.value = data.ingredient?.unit?.name || ""; + properties.food.value = data.ingredient?.food?.name || ""; for (const property in properties) { const color = getColor(property); diff --git a/mealie/routes/backup_routes.py b/mealie/routes/backup_routes.py index 3528f39e..861de063 100644 --- a/mealie/routes/backup_routes.py +++ b/mealie/routes/backup_routes.py @@ -48,7 +48,6 @@ def export_database( tag=data.tag, templates=data.templates, export_recipes=data.options.recipes, - export_settings=data.options.settings, export_users=data.options.users, export_groups=data.options.groups, export_notifications=data.options.notifications, diff --git a/mealie/services/backups/exports.py b/mealie/services/backups/exports.py index dc9da32b..080521de 100644 --- a/mealie/services/backups/exports.py +++ b/mealie/services/backups/exports.py @@ -106,7 +106,7 @@ def backup_all( tag=None, templates=None, export_recipes=True, - export_settings=True, + export_settings=False, export_users=True, export_groups=True, export_notifications=True,