Skip to content

Commit

Permalink
fix #1204
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Cottle committed Nov 18, 2024
1 parent a83e995 commit b3d0004
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/stores/LevelStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ AppConstants.StoreSubscribePrototype,

isLevelSolved: function(levelID) {
var levelData = _solvedMap[levelID];
if (levelData === true) {
return true;
}
return levelData ? levelData.solved === true : false;
},

Expand Down

0 comments on commit b3d0004

Please sign in to comment.