fix user_levels

pull/21833/head
Matthew Hodgson 2016-01-20 17:12:55 +00:00
parent 442e090f37
commit 705730d450
1 changed files with 1 additions and 1 deletions

View File

@ -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>