Merge pull request #35684 from iamejaaz/remove-icons-keep-minimal
fix: remove icons from tab
This commit is contained in:
commit
3a541fbfea
2 changed files with 1 additions and 13 deletions
|
|
@ -76,7 +76,6 @@
|
|||
"width",
|
||||
"max_height",
|
||||
"columns",
|
||||
"icon",
|
||||
"column_break_22",
|
||||
"description",
|
||||
"documentation_url",
|
||||
|
|
@ -626,12 +625,6 @@
|
|||
"fieldtype": "Select",
|
||||
"label": "Button Color",
|
||||
"options": "\nDefault\nPrimary\nInfo\nSuccess\nWarning\nDanger"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: doc.fieldtype == \"Tab Break\"",
|
||||
"fieldname": "icon",
|
||||
"fieldtype": "Icon",
|
||||
"label": "Icon"
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
|
|
@ -639,7 +632,7 @@
|
|||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2025-12-23 14:16:30.951385",
|
||||
"modified": "2026-01-06 01:37:29.723265",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "DocField",
|
||||
|
|
|
|||
|
|
@ -35,11 +35,6 @@ export default class Tab {
|
|||
type="button"
|
||||
role="tab"
|
||||
aria-controls="${id}">
|
||||
${
|
||||
ICON_MAP[this.label] || this.df.icon
|
||||
? frappe.utils.icon(this.df.icon || ICON_MAP[this.label])
|
||||
: ""
|
||||
}
|
||||
${__(this.label, null, this.doctype)}
|
||||
</button>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue