Merge pull request #5008 from matrix-org/travis/fix-devtools
Fix size call for devtools state eventspull/21833/head
commit
08f88550b1
|
@ -416,7 +416,7 @@ class RoomStateExplorer extends React.PureComponent {
|
|||
{
|
||||
Array.from(this.roomStateEvents.entries()).map(([eventType, allStateKeys]) => {
|
||||
let onClickFn;
|
||||
if (allStateKeys.size() === 1 && allStateKeys.has("")) {
|
||||
if (allStateKeys.size === 1 && allStateKeys.has("")) {
|
||||
onClickFn = this.onViewSourceClick(allStateKeys.get(""));
|
||||
} else {
|
||||
onClickFn = this.browseEventType(eventType);
|
||||
|
|
Loading…
Reference in New Issue