mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
fix buzz bug when initialOptions missing from settings
This commit is contained in:
parent
698cdae8ed
commit
d573a011c6
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ export default class InitialOptions {
|
|||
* Gets next question that needs to be asked
|
||||
*/
|
||||
static nextUnansweredQuestion () {
|
||||
if (!settingsSection || !settingsSection.length) return [];
|
||||
if (!settingsSection || !settingsSection.length) return null;
|
||||
var nextUnansweredQuestion = settingsSection.find(function (question) {
|
||||
return !InitialOptions.isAnswered(question);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue