Keep action in url if modal is open.
This commit is contained in:
parent
28422018cd
commit
99c65aa1d1
@ -55,7 +55,7 @@ const HostInfo = () => {
|
|||||||
},
|
},
|
||||||
hostOTP: () => {
|
hostOTP: () => {
|
||||||
setHostOTPOpen(true)
|
setHostOTPOpen(true)
|
||||||
return true
|
return false
|
||||||
},
|
},
|
||||||
edit: () => {
|
edit: () => {
|
||||||
objectFormRef?.current.startEditing()
|
objectFormRef?.current.startEditing()
|
||||||
@ -229,6 +229,7 @@ const HostInfo = () => {
|
|||||||
destroyOnHidden={true}
|
destroyOnHidden={true}
|
||||||
width={650}
|
width={650}
|
||||||
onCancel={() => {
|
onCancel={() => {
|
||||||
|
actionHandlerRef.current.clearAction()
|
||||||
setHostOTPOpen(false)
|
setHostOTPOpen(false)
|
||||||
}}
|
}}
|
||||||
footer={false}
|
footer={false}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user