Skip to content

Commit

Permalink
view model bug: odds tab visible if user cheats but hasn't started game
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffordvickrey committed Sep 22, 2019
1 parent 2da9a51 commit c1d7ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/infrastructure/ViewModel.ts
Expand Up @@ -209,7 +209,7 @@ export class ViewModel {
this.oddsAreStale = true;
}

this.dom.enableTab("odds", meta.cheated);
this.dom.enableTab("odds", meta.cheated && hasHand);

let input = this.dom.getInput("amount");

Expand Down

0 comments on commit c1d7ab0

Please sign in to comment.