iterate PR based on feedback
parent
83912daced
commit
17e0a4b3d7
|
@ -33,7 +33,7 @@ export async function upgradeRoom(
|
||||||
awaitRoom = false,
|
awaitRoom = false,
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const cli = room.client;
|
const cli = room.client;
|
||||||
const modal = Modal.createDialog(Spinner, null, "mx_Dialog_spinner");
|
const spinnerModal = Modal.createDialog(Spinner, null, "mx_Dialog_spinner");
|
||||||
|
|
||||||
let newRoomId: string;
|
let newRoomId: string;
|
||||||
try {
|
try {
|
||||||
|
@ -101,6 +101,6 @@ export async function upgradeRoom(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
modal.close();
|
spinnerModal.close();
|
||||||
return newRoomId;
|
return newRoomId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue