mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 17:21:25 +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],
|
||||
);
|
||||
|
||||
this.props.onFinished(true);
|
||||
|
||||
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
||||
verificationRequest: request,
|
||||
});
|
||||
|
||||
this.props.onFinished(true);
|
||||
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
|
||||
// userId,
|
||||
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user