Update originalIndex on select (#12480)

This commit is contained in:
melohagan 2023-11-30 14:42:38 +00:00 committed by GitHub
parent 08e39d9568
commit 6315806bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@
const selectAction = action => () => { const selectAction = action => () => {
selectedAction = action selectedAction = action
originalActionIndex = actions.findIndex(item => item.id === action.id)
} }
const onAddAction = actionType => { const onAddAction = actionType => {