mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 20:36:57 +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>;
|
</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We don't want to display drop targets if there are no room tiles to drag'n'drop
|
||||||
if (this.state.totalRoomCount === 0) {
|
if (this.state.totalRoomCount === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue