Fix last completed logic bug
This PR fixes a regression introduced in an earlier patchpull/3567/head
parent
42b77e92f8
commit
5c3973c365
|
@ -557,7 +557,7 @@ module.exports = function(app) {
|
|||
const lastCompletedBlock = _.findLast(blocks, (block) => {
|
||||
return block.completed === 100;
|
||||
});
|
||||
lastCompleted = lastCompleted && lastCompletedBlock.name || null;
|
||||
lastCompleted = lastCompletedBlock && lastCompletedBlock.name || null;
|
||||
});
|
||||
|
||||
Observable.combineLatest(
|
||||
|
|
Loading…
Reference in New Issue