mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
* ci: add prettier to pre-commit
(cherry picked from commit 2c16036ef3)
* style: format js files
---------
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Homepage', {
|
||||
refresh: function(frm) {
|
||||
frm.add_custom_button(__('Set Meta Tags'), () => {
|
||||
frappe.utils.set_meta_tag('home');
|
||||
frappe.ui.form.on("Homepage", {
|
||||
refresh: function (frm) {
|
||||
frm.add_custom_button(__("Set Meta Tags"), () => {
|
||||
frappe.utils.set_meta_tag("home");
|
||||
});
|
||||
frm.add_custom_button(__('Customize Homepage Sections'), () => {
|
||||
frappe.set_route('List', 'Homepage Section', 'List');
|
||||
frm.add_custom_button(__("Customize Homepage Sections"), () => {
|
||||
frappe.set_route("List", "Homepage Section", "List");
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Homepage Section', {
|
||||
|
||||
});
|
||||
frappe.ui.form.on("Homepage Section", {});
|
||||
|
||||
Reference in New Issue
Block a user