From 705730d450b1517d31e606bd197662bb183ebae2 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 20 Jan 2016 17:12:55 +0000 Subject: [PATCH] fix user_levels --- src/components/views/rooms/RoomSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index e5a1d05da2..fab843cefa 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -597,7 +597,7 @@ module.exports = React.createClass({ ; var user_levels_section; - if (user_levels.length) { + if (Object.keys(user_levels).length) { user_levels_section =