sceyt-chat-react-uikit 1.6.6-beta.1 → 1.6.6-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -1
- package/index.modern.js +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -22958,7 +22958,11 @@ function ForwardMessagePopup(_ref) {
|
|
|
22958
22958
|
return member.id !== user.id;
|
|
22959
22959
|
});
|
|
22960
22960
|
return /*#__PURE__*/React__default.createElement(ChannelItem, {
|
|
22961
|
-
key: channel.id
|
|
22961
|
+
key: channel.id,
|
|
22962
|
+
onClick: function onClick() {
|
|
22963
|
+
return handleChannelSelect(!isSelected, channel);
|
|
22964
|
+
},
|
|
22965
|
+
disabled: selectedChannels.length >= 5 && !isSelected
|
|
22962
22966
|
}, /*#__PURE__*/React__default.createElement(Avatar, {
|
|
22963
22967
|
name: channel.subject || (isDirectChannel && directChannelUser ? directChannelUser.firstName || directChannelUser.id : ''),
|
|
22964
22968
|
image: channel.avatarUrl || (isDirectChannel && directChannelUser ? directChannelUser.avatarUrl : ''),
|
package/index.modern.js
CHANGED
|
@@ -22935,7 +22935,11 @@ function ForwardMessagePopup(_ref) {
|
|
|
22935
22935
|
return member.id !== user.id;
|
|
22936
22936
|
});
|
|
22937
22937
|
return /*#__PURE__*/React__default.createElement(ChannelItem, {
|
|
22938
|
-
key: channel.id
|
|
22938
|
+
key: channel.id,
|
|
22939
|
+
onClick: function onClick() {
|
|
22940
|
+
return handleChannelSelect(!isSelected, channel);
|
|
22941
|
+
},
|
|
22942
|
+
disabled: selectedChannels.length >= 5 && !isSelected
|
|
22939
22943
|
}, /*#__PURE__*/React__default.createElement(Avatar, {
|
|
22940
22944
|
name: channel.subject || (isDirectChannel && directChannelUser ? directChannelUser.firstName || directChannelUser.id : ''),
|
|
22941
22945
|
image: channel.avatarUrl || (isDirectChannel && directChannelUser ? directChannelUser.avatarUrl : ''),
|