mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-07-25 13:28:49 -04: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…
Add table
Add a link
Reference in a new issue