diff --git a/frontend/components/Domain/Recipe/RecipeActionMenu.vue b/frontend/components/Domain/Recipe/RecipeActionMenu.vue
index adb0b0b09..3ad0184d0 100644
--- a/frontend/components/Domain/Recipe/RecipeActionMenu.vue
+++ b/frontend/components/Domain/Recipe/RecipeActionMenu.vue
@@ -21,31 +21,23 @@
-
-
+
+
-
+
-
+
{{ $globals.icons.edit }}
{{ $t("general.edit") }}
-
-
-
- {{ $globals.icons.lock }}
-
-
- {{ $t("recipe.locked-by-owner") }}
-
@@ -135,7 +128,7 @@ export default defineComponent({
required: true,
type: String,
},
- locked: {
+ canEdit: {
type: Boolean,
default: false,
},
diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageHeader.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageHeader.vue
index ed26818b0..18915641a 100644
--- a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageHeader.vue
+++ b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageHeader.vue
@@ -45,7 +45,7 @@
:recipe="recipe"
:slug="recipe.slug"
:recipe-scale="recipeScale"
- :locked="isOwnGroup && user.id !== recipe.userId && recipe.settings.locked"
+ :can-edit="canEditRecipe"
:name="recipe.name"
:logged-in="isOwnGroup"
:open="isEditMode"
@@ -64,6 +64,7 @@