mirror of https://github.com/vector-im/riot-web
Fix size call for devtools state events
Fixes https://github.com/vector-im/riot-web/issues/14565 It's not a functionpull/21833/head
parent
16a084bca7
commit
87743fe0e8
|
@ -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