mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Fix size call for devtools state events
Fixes https://github.com/vector-im/riot-web/issues/14565 It's not a function
This commit is contained in:
parent
16a084bca7
commit
87743fe0e8
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ class RoomStateExplorer extends React.PureComponent {
|
||||||
{
|
{
|
||||||
Array.from(this.roomStateEvents.entries()).map(([eventType, allStateKeys]) => {
|
Array.from(this.roomStateEvents.entries()).map(([eventType, allStateKeys]) => {
|
||||||
let onClickFn;
|
let onClickFn;
|
||||||
if (allStateKeys.size() === 1 && allStateKeys.has("")) {
|
if (allStateKeys.size === 1 && allStateKeys.has("")) {
|
||||||
onClickFn = this.onViewSourceClick(allStateKeys.get(""));
|
onClickFn = this.onViewSourceClick(allStateKeys.get(""));
|
||||||
} else {
|
} else {
|
||||||
onClickFn = this.browseEventType(eventType);
|
onClickFn = this.browseEventType(eventType);
|
||||||
|
|
Loading…
Reference in a new issue