Skip to content

Commit

Permalink
fix: avoid translating layout field labels
Browse files Browse the repository at this point in the history
- section
- tabs

Resolves frappe#25482 (comment)
  • Loading branch information
ankush committed Mar 19, 2024
1 parent 246f92d commit 3f254b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frappe/public/js/form_builder/components/Section.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
>
<div class="section-label">
<EditableInput
:text="__(section.df.label)"
:text="section.df.label"
:placeholder="__('Section Title')"
v-model="section.df.label"
/>
Expand Down
2 changes: 1 addition & 1 deletion frappe/public/js/form_builder/components/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function delete_tab(tab, with_children) {
@dragover="drag_over(element)"
>
<EditableInput
:text="__(element.df.label)"
:text="element.df.label"
:placeholder="__('Tab Label')"
v-model="element.df.label"
/>
Expand Down

0 comments on commit 3f254b5

Please sign in to comment.