fix(ui): correct next/prev arrow direction in RTL
This commit is contained in:
parent
118cb4490f
commit
23f6b8c26d
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue