diff --git a/services/loader.go b/services/loader.go index d1e9d7f..35fd582 100644 --- a/services/loader.go +++ b/services/loader.go @@ -555,7 +555,9 @@ func (l *Loader) populateGoals(ctx context.Context, goal *models.Goal) (*models. item.CompletedAmount += amount if goal.Unweighted { - result.CompletedAmount += amount + if item.GroupWeight > 0 { + result.CompletedAmount += amount + } } else { result.CompletedAmount += amount * item.GroupWeight }