Merge pull request #11479 from Bouncey/fix/lastVideoRedirect

Fix Final Video Challenge Completion
This commit is contained in:
Dylan
2016-11-22 10:59:55 -06:00
committed by GitHub

View File

@ -61,6 +61,17 @@ export default function nextChallengeSaga(actions$, getState) {
message
};
*/
if (nextChallenge.isLocked) {
return Observable.of(
makeToast({
message: 'The next challenge has not been unlocked. ' +
'Please revisit the required (*) challenges ' +
'that have not been passed yet. ',
timeout: 15000
}),
push('/map')
);
}
return Observable.of(
updateCurrentChallenge(nextChallenge),
resetUi(),