hotfix: fixed bug where navigating from one record to another, then hitting the 'e' button goes to the edit screen for the previous record

This commit is contained in:
Tim Chamberlain
2023-08-17 16:13:50 -05:00
parent 53d5bc58c1
commit 5aac9ce069
6 changed files with 231 additions and 22 deletions

View File

@ -193,7 +193,7 @@ function RecordView({table, launchProcess}: Props): JSX.Element
{
document.removeEventListener("keydown", down)
}
}, [dotMenuOpen, keyboardHelpOpen, showEditChildForm, showAudit, metaData])
}, [dotMenuOpen, keyboardHelpOpen, showEditChildForm, showAudit, metaData, location])
const gotoCreate = () =>
{