mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Add comment
This commit is contained in:
parent
40154df930
commit
dd48b3f055
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue