From b3daaa093fdb69ea94dfe23084566e0be5a93d2e Mon Sep 17 00:00:00 2001 From: Karthik99999 Date: Mon, 16 Oct 2023 01:12:21 -0700 Subject: [PATCH] Prevent remote teams from overwriting local teams --- js/client-teambuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index fa41f3b5d3..7589ca2f33 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -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(); }