File tree Expand file tree Collapse file tree 1 file changed +25
-18
lines changed
Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,15 @@ export class MeetingMessage extends Component {
3838 dateString,
3939 title,
4040 subject,
41- onClick,
42- onMeetingMoreSelect,
43- moreItems,
4441 collapseTitle,
45- dataSource ,
42+ moreItems ,
4643 participants,
44+ dataSource,
45+
46+ onClick,
4747 onMeetingTitleClick,
4848 onMeetingVideoLinkClick,
49+ onMeetingMoreSelect,
4950 } = this . props ;
5051
5152 const PARTICIPANT_LIMIT = this . props . participantsLimit ;
@@ -73,20 +74,25 @@ export class MeetingMessage extends Component {
7374 </ span >
7475 </ div >
7576 </ div >
76- < div >
77- < Dropdown
78- animationType = "bottom"
79- animationPosition = "norteast"
80- buttonProps = { {
81- className :'rce-mtmg-right-icon' ,
82- icon : {
83- component : < MdMoreHoriz /> ,
84- size : 24 ,
85- } ,
86- } }
87- items = { moreItems }
88- onSelect = { onMeetingMoreSelect } />
89- </ div >
77+
78+ {
79+ moreItems &&
80+ moreItems . length > 0 &&
81+ < div >
82+ < Dropdown
83+ animationType = "bottom"
84+ animationPosition = "norteast"
85+ buttonProps = { {
86+ className :'rce-mtmg-right-icon' ,
87+ icon : {
88+ component : < MdMoreHoriz /> ,
89+ size : 24 ,
90+ } ,
91+ } }
92+ items = { moreItems }
93+ onSelect = { onMeetingMoreSelect } />
94+ </ div >
95+ }
9096 </ div >
9197 < div
9298 className = "rce-mtmg-body-bottom"
@@ -248,6 +254,7 @@ MeetingMessage.defaultProps = {
248254 collapseTitle : '' ,
249255 participantsLimit : 3 ,
250256 avatarFlexible : false ,
257+ moreItems : [ ] ,
251258 dataSource : [ ] ,
252259 participants : [ ] ,
253260 onClick : ( ) => void ( 0 ) ,
You can’t perform that action at this time.
0 commit comments