diff --git a/resources/js/pages/blueprints/Edit.vue b/resources/js/pages/blueprints/Edit.vue index 3a1cc7f69c8..6b1013a37b1 100644 --- a/resources/js/pages/blueprints/Edit.vue +++ b/resources/js/pages/blueprints/Edit.vue @@ -7,7 +7,7 @@ defineProps({ action: String, showTitle: Boolean, useTabs: { type: Boolean, default: true }, - canDefineLocalizable: Boolean, + canDefineLocalizable: { type: Boolean, default: undefined }, resetRoute: String, isResettable: Boolean, isFormBlueprint: Boolean, diff --git a/src/Http/Controllers/CP/Forms/FormBlueprintController.php b/src/Http/Controllers/CP/Forms/FormBlueprintController.php index 90b386b166a..013e974dc0d 100644 --- a/src/Http/Controllers/CP/Forms/FormBlueprintController.php +++ b/src/Http/Controllers/CP/Forms/FormBlueprintController.php @@ -45,6 +45,7 @@ public function edit($form) 'blueprint' => $this->toVueObject($blueprint), 'action' => cp_route('blueprints.forms.update', $form->handle()), 'isFormBlueprint' => true, + 'canDefineLocalizable' => false, 'useTabs' => false, ]); } diff --git a/src/Http/Controllers/CP/Users/UserGroupBlueprintController.php b/src/Http/Controllers/CP/Users/UserGroupBlueprintController.php index 8820427af03..babe760079f 100644 --- a/src/Http/Controllers/CP/Users/UserGroupBlueprintController.php +++ b/src/Http/Controllers/CP/Users/UserGroupBlueprintController.php @@ -42,6 +42,7 @@ public function edit() return $this->renderEditPage([ 'blueprint' => $this->toVueObject($blueprint), 'action' => cp_route('blueprints.user-groups.update'), + 'canDefineLocalizable' => false, ]); }