1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-16 06:42:26 +03:00

Add comment

This commit is contained in:
Luke Barnard
2017-06-01 10:08:02 +01:00
parent 40154df930
commit dd48b3f055

View File

@@ -529,6 +529,7 @@ module.exports = React.createClass({
</div>;
}
// We don't want to display drop targets if there are no room tiles to drag'n'drop
if (this.state.totalRoomCount === 0) {
return null;
}