From 9ba1c97770d75d1d43f161d4acf68d6a9851ec02 Mon Sep 17 00:00:00 2001 From: Dominik Henneke Date: Wed, 23 Mar 2022 12:28:37 +0100 Subject: [PATCH] Generate the correct widget id when opening modal widgets (#8123) --- src/stores/widgets/StopGapWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/widgets/StopGapWidget.ts b/src/stores/widgets/StopGapWidget.ts index 0610927339..2ddd0d1761 100644 --- a/src/stores/widgets/StopGapWidget.ts +++ b/src/stores/widgets/StopGapWidget.ts @@ -241,7 +241,7 @@ export class StopGapWidget extends EventEmitter { private onOpenModal = async (ev: CustomEvent) => { ev.preventDefault(); if (ModalWidgetStore.instance.canOpenModalWidget()) { - ModalWidgetStore.instance.openModalWidget(ev.detail.data, this.mockWidget); + ModalWidgetStore.instance.openModalWidget(ev.detail.data, this.mockWidget, this.roomId); this.messaging.transport.reply(ev.detail, {}); // ack } else { this.messaging.transport.reply(ev.detail, {