Keep action in url if modal is open.

This commit is contained in:
Tom Butcher 2025-09-07 19:46:24 +01:00
parent 28422018cd
commit 99c65aa1d1

View File

@ -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}