From adb7915b3e88de97da2a0b38291403313e0f4c93 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 11 Nov 2015 00:56:51 +0100 Subject: [PATCH] suppress warning --- src/skins/vector/views/organisms/RoomSubList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skins/vector/views/organisms/RoomSubList.js b/src/skins/vector/views/organisms/RoomSubList.js index a4fd5e99..2eed9b74 100644 --- a/src/skins/vector/views/organisms/RoomSubList.js +++ b/src/skins/vector/views/organisms/RoomSubList.js @@ -224,7 +224,7 @@ var RoomSubList = React.createClass({ room={ room } roomSubList={ self } key={ room.roomId } - collapsed={ self.props.collapsed } + collapsed={ self.props.collapsed || false} selected={ selected } unread={ self.props.activityMap[room.roomId] === 1 } highlight={ self.props.activityMap[room.roomId] === 2 }