Fix threads broken layout (#6997)
This commit is contained in:
parent
115c6e8357
commit
35b5109c2a
5 changed files with 44 additions and 27 deletions
|
@ -560,6 +560,9 @@ export default class MessagePanel extends React.Component<IProps, IState> {
|
|||
}
|
||||
|
||||
private get pendingEditItem(): string | undefined {
|
||||
if (!this.props.room) {
|
||||
return undefined;
|
||||
}
|
||||
try {
|
||||
return localStorage.getItem(`mx_edit_room_${this.props.room.roomId}_${this.context.timelineRenderingType}`);
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue