Web: Components: Fix wrong LTR language displaying in RTL mode in Paging (1 of 10)

This commit is contained in:
Aleksandr Lushkin 2023-07-10 13:01:09 +02:00
parent 89605c9844
commit 431b580686

View File

@ -73,7 +73,13 @@ const DropDownItem = (props) => {
</IconWrapper>
)}
{isSeparator ? "\u00A0" : label ? label : children && children}
{isSeparator ? (
"\u00A0"
) : label ? (
<span dir="auto">{label}</span>
) : (
children && children
)}
{isSubMenu && (
<IconWrapper className="submenu-arrow">