adding fix

This commit is contained in:
mati108@gmail.com committed 2018-10-06 16:10:49 -03:00
1 parent b19d0b1b9e
commit 90178735cf
1 file changed
+2 -1
+2 -1
View File
@@ -43,11 +43,12 @@ function newDevTeam() {
if (storedTeams === null || storedTeams === "[]" || storedTeams === "") {
window.TEAMS = "";
window.DEV_TEAM = "";
label = NOT_FOUND;
} else {
storedTeams = JSON.parse(storedTeams)
window.TEAMS = storedTeams;
window.DEV_TEAM = storedTeams[0].slug;
window.DEV_TEAM = storedTeams[sharedStatus.currentDevTeamIndex].slug;
label = storedTeams[sharedStatus.currentDevTeamIndex].name;
}