fix(ui): add label and spacing

This commit is contained in:
sokumon 2026-01-05 20:11:20 +05:30
parent dbcdb0cc48
commit 98548e1ec7

View file

@ -62,6 +62,11 @@ frappe.ui.form.on("Workspace Sidebar Item", {
frappe.model.set_value(cdt, cdn, fieldname, value);
},
});
$(field.wrapper).find(".filter-area").css("margin-bottom", "10px");
$(field.wrapper)
.find(".filter-area")
.prepend("<label class='control-label'>Filters</label>");
if (row.filters) {
filter_group.add_filters_to_filter_group(JSON.parse(row.filters));
}