Merge pull request #1108 from and-rose/bugfix/nextAction-not-being-reset

fix(#1077): Fix params to updateNextAction
This commit is contained in:
Anoop M D 2023-12-01 23:03:37 +05:30 committed by GitHub
commit ba994cb5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ const useCollectionNextAction = () => {
const item = findItemInCollectionByPathname(collection, get(collection, 'nextAction.payload.pathname')); const item = findItemInCollectionByPathname(collection, get(collection, 'nextAction.payload.pathname'));
if (item) { if (item) {
dispatch(updateNextAction(collection.uid, null)); dispatch(updateNextAction({ collectionUid: collection.uid, nextAction: null }));
dispatch( dispatch(
addTab({ addTab({
uid: item.uid, uid: item.uid,