dashboard: fix solved number in summary table
This commit is contained in:
parent
5c5dadbee0
commit
c9347f45e2
@ -77,7 +77,7 @@ func GetTeamsStats(t *Team) (interface{}, error) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if n, _ := exercice.IsSolved(); n > 0 {
|
if n, _ := exercice.IsSolved(); n > 0 {
|
||||||
solved += 1
|
solved += n
|
||||||
sLvl.Solved += 1
|
sLvl.Solved += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user