mirror of https://github.com/vector-im/riot-web
fix user_levels
parent
442e090f37
commit
705730d450
|
@ -597,7 +597,7 @@ module.exports = React.createClass({
|
|||
</div>;
|
||||
|
||||
var user_levels_section;
|
||||
if (user_levels.length) {
|
||||
if (Object.keys(user_levels).length) {
|
||||
user_levels_section =
|
||||
<div>
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue