Merge pull request #36318 from KerollesFathy/fix/show-rename-icon-in-form-toolbar
fix(form): show edit icon when is_title_editable or can_rename
This commit is contained in:
commit
1a18a2f921
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ frappe.ui.form.Toolbar = class Toolbar {
|
|||
setup_editable_title(element) {
|
||||
let me = this;
|
||||
|
||||
if (me.is_title_editable()) {
|
||||
if (me.is_title_editable() || me.can_rename()) {
|
||||
let edit_icon = this.page.add_action_icon(
|
||||
"square-pen",
|
||||
() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue