Fix right panel for peeking rooms

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-10-01 12:30:41 +01:00
parent 7fa1214cf1
commit a9cee7cf70
3 changed files with 4 additions and 6 deletions

View file

@ -118,6 +118,7 @@ export default class WidgetStore extends AsyncStoreWithClient<IState> {
}
private loadRoomWidgets(room: Room) {
if (!room) return;
const roomInfo = this.roomMap.get(room.roomId);
roomInfo.widgets = [];
this.generateApps(room).forEach(app => {