mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 16:44:27 +01:00
Merge pull request #1108 from and-rose/bugfix/nextAction-not-being-reset
fix(#1077): Fix params to updateNextAction
This commit is contained in:
commit
ba994cb5a0
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user