Generate the correct widget id when opening modal widgets (#8123)
This commit is contained in:
parent
d9276426fa
commit
9ba1c97770
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ export class StopGapWidget extends EventEmitter {
|
|||
private onOpenModal = async (ev: CustomEvent<IModalWidgetOpenRequest>) => {
|
||||
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, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue