Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report #21

Open
cpprookie opened this issue Sep 27, 2020 · 1 comment
Open

Bug report #21

cpprookie opened this issue Sep 27, 2020 · 1 comment
Assignees

Comments

@cpprookie
Copy link

Steps to reproduce

  • Complete last level.
  • Click next button.
  • Open dev-tool and you will keep receiving errors.

rxjs-fruit-bug

@GregorBiswanger GregorBiswanger self-assigned this Sep 27, 2020
@cpprookie
Copy link
Author

Logic broken here?

this.currentLevelIndex = this.nextUnsolvedLevelIndex();

nextUnsolvedLevelIndex will return undefined after all levels finished. Thus setting currentLevelIndex as undefined caused no valid level as correct reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants