Skip to content

Commit

Permalink
Prevent remote teams from overwriting local teams
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 committed Oct 16, 2023
1 parent dd4108c commit b3daaa0
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 @@ -142,7 +142,7 @@
update: function () {
teams = Storage.teams;
if (this.curTeam) {
if (this.curTeam.loaded === false || (this.curTeam.teamid && !this.curTeam.loaded)) {
if (this.curTeam.loaded === false) {
this.loadTeam();
return this.updateTeamView();
}
Expand Down

0 comments on commit b3daaa0

Please sign in to comment.