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