fix(label): submit
This commit is contained in:
@@ -2186,7 +2186,13 @@ const LabelPage = ({
|
||||
|
||||
if (e.altKey && e.key.toLowerCase() === "x") {
|
||||
e.preventDefault()
|
||||
if (!isView) topRef.current?.commitTaskByActionKey?.()
|
||||
if (!isView) {
|
||||
if (topRef.current?.requestSubmitTaskConfirm) {
|
||||
topRef.current.requestSubmitTaskConfirm()
|
||||
} else {
|
||||
topRef.current?.commitTaskByActionKey?.()
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user