mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-03 17:51:51 +01:00
need to close the current dialog before opening a new modal
This commit is contained in:
parent
f368339b78
commit
ee23bfe625
@ -48,11 +48,12 @@ export default class NewSessionReviewDialog extends React.PureComponent {
|
|||||||
[device.deviceId],
|
[device.deviceId],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.props.onFinished(true);
|
||||||
|
|
||||||
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
||||||
verificationRequest: request,
|
verificationRequest: request,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.props.onFinished(true);
|
|
||||||
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
|
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
|
||||||
// userId,
|
// userId,
|
||||||
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],
|
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user