diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index 323af86c5f..126ae40401 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -409,7 +409,7 @@ module.exports = React.createClass({ perms = null; if (guestRead || guestJoin) { - perms =
{ JSON.stringify(this.state.event.event, null, 2) }@@ -234,11 +354,9 @@ class RoomStateExplorer extends React.Component { const rows = []; + const classes = 'mx_DevTools_RoomStateExplorer_button'; if (this.state.eventType === null) { Object.keys(this.roomStateEvents).forEach((evType) => { - // Skip this entry if does not contain search query - if (this.state.query && !evType.toLowerCase().includes(this.state.query.toLowerCase())) return; - const stateGroup = this.roomStateEvents[evType]; const stateKeys = Object.keys(stateGroup); @@ -249,7 +367,7 @@ class RoomStateExplorer extends React.Component { onClickFn = this.onViewSourceClick(stateGroup[stateKeys[0]]); } - rows.push(