diff --git a/docs/docs/documentation/community-guide/import-recipe-bookmarklet.md b/docs/docs/documentation/community-guide/import-recipe-bookmarklet.md index 2ef49d037..ed8401b62 100644 --- a/docs/docs/documentation/community-guide/import-recipe-bookmarklet.md +++ b/docs/docs/documentation/community-guide/import-recipe-bookmarklet.md @@ -12,12 +12,10 @@ var url = document.URL.endsWith('/') ? document.URL; var mealie = "http://localhost:8080"; var group_slug = "home" // Change this to your group slug. You can obtain this from your URL after logging-in to Mealie -var use_keywords= "&use_keywords=1" // Optional - use keywords from recipe - update to "" if you don't want that -var edity = "&edit=1" // Optional - keep in edit mode - update to "" if you don't want that if (mealie.slice(-1) === "/") { mealie = mealie.slice(0, -1) } -var dest = mealie + "/g/" + group_slug + "/r/create/url?recipe_import_url=" + url + use_keywords + edity; +var dest = mealie + "/g/" + group_slug + "/r/create/url?recipe_import_url=" + url; window.open(dest, "_blank"); ``` diff --git a/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue b/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue index 920641f95..a8ad58b95 100644 --- a/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue +++ b/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue @@ -165,12 +165,12 @@ @click="$emit('clickIngredientField', 'note')" /> -

- {{ $t("recipe.original-text-with-value", { originalText: model.originalText }) }} -

- { @@ -254,13 +250,6 @@ const contextMenuOptions = computed(() => { }, ]; - if (model.value.originalText) { - options.push({ - text: i18n.t("recipe.see-original-text"), - event: "toggle-original", - }); - } - return options; }); @@ -319,10 +308,6 @@ function toggleTitle() { state.showTitle = !state.showTitle; } -function toggleOriginalText() { - state.showOriginalText = !state.showOriginalText; -} - function handleUnitEnter() { if ( model.value.unit === undefined @@ -349,7 +334,7 @@ function quantityFilter(e: KeyboardEvent) { } } -const { showTitle, showOriginalText } = toRefs(state); +const { showTitle } = toRefs(state); const foods = foodStore.store; const units = unitStore.store; diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue index ad6e08a5a..297552743 100644 --- a/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue +++ b/frontend/components/Domain/Recipe/RecipePage/RecipePage.vue @@ -1,5 +1,12 @@