diff --git a/frappe/public/js/frappe/form/toolbar.js b/frappe/public/js/frappe/form/toolbar.js index ed6b86045a..7432b0fe2b 100644 --- a/frappe/public/js/frappe/form/toolbar.js +++ b/frappe/public/js/frappe/form/toolbar.js @@ -341,7 +341,7 @@ frappe.ui.form.Toolbar = class Toolbar { // Navigate if (!this.frm.is_new() && !this.frm.meta.issingle) { this.page.add_action_icon( - "es-line-left-chevron", + frappe.utils.is_rtl() ? "es-line-right-chevron" : "es-line-left-chevron", () => { this.frm.navigate_records(1); }, @@ -349,7 +349,7 @@ frappe.ui.form.Toolbar = class Toolbar { __("Previous Document") ); this.page.add_action_icon( - "es-line-right-chevron", + frappe.utils.is_rtl() ? "es-line-left-chevron" : "es-line-right-chevron", () => { this.frm.navigate_records(0); },