Chat: Do not show "Add to folder..." when there is no folders (#1628)
This commit is contained in:
parent
8899fd6134
commit
6e09b7c6bc
@ -379,7 +379,7 @@ export default memo(withGlobal<OwnProps>(
|
|||||||
animationLevel: global.settings.byKey.animationLevel,
|
animationLevel: global.settings.byKey.animationLevel,
|
||||||
isSelected,
|
isSelected,
|
||||||
canScrollDown: isSelected && messageListType === 'thread',
|
canScrollDown: isSelected && messageListType === 'thread',
|
||||||
canChangeFolder: Boolean(global.chatFolders.orderedIds),
|
canChangeFolder: Boolean(global.chatFolders.orderedIds?.length),
|
||||||
lastSyncTime: global.lastSyncTime,
|
lastSyncTime: global.lastSyncTime,
|
||||||
...(isOutgoing && { lastMessageOutgoingStatus: selectOutgoingStatus(global, chat.lastMessage) }),
|
...(isOutgoing && { lastMessageOutgoingStatus: selectOutgoingStatus(global, chat.lastMessage) }),
|
||||||
...(privateChatUserId && {
|
...(privateChatUserId && {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user