Skip to content

Commit

Permalink
Fix team validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Oct 2, 2023
1 parent 8905034 commit ef351ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/client-teambuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@
}
},
validate: function () {
if (!this.curTeam.loaded) {
if (this.curTeam.teamid && !this.curTeam.loaded) {
return app.loadTeam(this.curTeam, this.validate.bind(this));
}
var format = this.curTeam.format || 'gen7anythinggoes';
Expand Down

0 comments on commit ef351ca

Please sign in to comment.