parent
							
								
									3f51bb84e1
								
							
						
					
					
						commit
						71ecd5dc85
					
				|  | @ -126,16 +126,16 @@ export default class RoomAvatar extends React.Component<IProps, IState> { | |||
|     }; | ||||
| 
 | ||||
|     public render() { | ||||
|         /*eslint no-unused-vars: ["error", { "ignoreRestSiblings": true }]*/ | ||||
|         const {room, oobData, viewAvatarOnClick, ...otherProps} = this.props; | ||||
| 
 | ||||
|         const roomName = room ? room.name : oobData.name; | ||||
| 
 | ||||
|         return ( | ||||
|             <BaseAvatar {...otherProps} name={roomName} | ||||
|             <BaseAvatar {...otherProps} | ||||
|                 name={roomName} | ||||
|                 idName={room ? room.roomId : null} | ||||
|                 urls={this.state.urls} | ||||
|                 onClick={this.props.viewAvatarOnClick && this.state.urls[0] ? this.onRoomAvatarClick : null} | ||||
|                 onClick={viewAvatarOnClick && this.state.urls[0] ? this.onRoomAvatarClick : null} | ||||
|             /> | ||||
|         ); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Michael Telatynski
						Michael Telatynski