You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Fix threads broken layout (#6997)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user