Sort Gifts Menu: Fix icon for sort item (#5713)
This commit is contained in:
parent
32146587fb
commit
8484935406
@ -517,7 +517,7 @@ const RightHeader: FC<OwnProps & StateProps> = ({
|
|||||||
autoClose={false}
|
autoClose={false}
|
||||||
>
|
>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
icon={giftsSortType === 'byDate' ? 'calendar-filter' : 'cash-circle'}
|
icon={giftsSortType === 'byDate' ? 'cash-circle' : 'calendar-filter'}
|
||||||
// eslint-disable-next-line react/jsx-no-bind
|
// eslint-disable-next-line react/jsx-no-bind
|
||||||
onClick={() => updateGiftProfileFilter(
|
onClick={() => updateGiftProfileFilter(
|
||||||
{ peerId: chatId, filter: { sortType: giftsSortType === 'byDate' ? 'byValue' : 'byDate' } },
|
{ peerId: chatId, filter: { sortType: giftsSortType === 'byDate' ? 'byValue' : 'byDate' } },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user