Changes for v3.69.0
This commit is contained in:
parent
2d1d1fb585
commit
c30b2637c5
13 changed files with 175 additions and 121 deletions
|
@ -51,7 +51,7 @@ export const RoomAccountDataEventEditor: React.FC<IEditorProps> = ({ mxEvent, on
|
|||
};
|
||||
|
||||
interface IProps extends IDevtoolsProps {
|
||||
events: Record<string, MatrixEvent>;
|
||||
events: Map<string, MatrixEvent>;
|
||||
Editor: React.FC<IEditorProps>;
|
||||
actionLabel: string;
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ const BaseAccountDataExplorer: React.FC<IProps> = ({ events, Editor, actionLabel
|
|||
return (
|
||||
<BaseTool onBack={onBack} actionLabel={actionLabel} onAction={onAction}>
|
||||
<FilteredList query={query} onChange={setQuery}>
|
||||
{Object.entries(events).map(([eventType, ev]) => {
|
||||
{Array.from(events.entries()).map(([eventType, ev]) => {
|
||||
const onClick = (): void => {
|
||||
setEvent(ev);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue