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:
Ejaaz Khan 2026-01-26 00:09:55 +05:30 committed by GitHub
commit 1a18a2f921
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",
() => {