Skip to content

Commit

Permalink
Merge pull request #1501 from sjd78/fix
Browse files Browse the repository at this point in the history
ACTION_IN_PROGRESS_START/STOP sagas need to unwrap the action
  • Loading branch information
sgratch authored Aug 11, 2021
2 parents 0e162bf + 5d0bdc1 commit 5f84c43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sagas/vmChanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ export default [
takeLatest(C.REMOVE_VM, removeVm),

// VM Status Changes
takeEvery(C.ACTION_IN_PROGRESS_START, startProgress),
takeEvery(C.ACTION_IN_PROGRESS_STOP, stopProgress),
takeEvery(C.ACTION_IN_PROGRESS_START, function* (action) { yield startProgress(action.payload) }),
takeEvery(C.ACTION_IN_PROGRESS_STOP, function* (action) { yield stopProgress(action.payload) }),
takeEvery(C.SHUTDOWN_VM, shutdownVm),
takeEvery(C.RESTART_VM, restartVm),
takeEvery(C.START_VM, startVm),
Expand Down

0 comments on commit 5f84c43

Please sign in to comment.