[FIX] createProgress compatibility

Wasn't previously fully backwards-compatible and its call hadn't been updated in all places
This commit is contained in:
2022-02-14 19:37:48 +00:00
parent 9c11bd2658
commit 18fd61721b
4 changed files with 37 additions and 6 deletions

View File

@@ -133,7 +133,7 @@ export default withRouter(class Progress extends React.Component {
setComplete: data.duration !== null,
pageLoaded: true,
numberOfAnswers: data.showNumberOfAnswers ? 0 : null,
ignoreCaps: data.ignoreCaps,
ignoreCaps: data.ignoreCaps === true,
};
if (data.lives) {