Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroy97 committed Feb 5, 2022
1 parent d350b61 commit 909416a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
</v-col>
<v-col cols="3" class="text-right">
{% assign scores = Queries.GetScoresForTeam | query: teamContentItemId: team.ContentItemId %}
{% assign scoreAvgTech = Queries.GetAvgScoresForTeam | query: scoreIndexId: team.ContentItemId, type: "Technical" | first %}
{% assign scoreAvgSubMat = Queries.GetAvgScoresForTeam | query: scoreIndexId: team.ContentItemId, type: "SubjectMatter" | first %}
{% assign teamContentItemId = team.ContentItemId | slice: 0, 25 %}
{% assign scoreAvgTech = Queries.GetAvgScoresForTeam | query: scoreIndexId: teamContentItemId, type: "T" | first %}
{% assign scoreAvgSubMat = Queries.GetAvgScoresForTeam | query: scoreIndexId: teamContentItemId, type: "S" | first %}
{% if scoreAvgTech != null and scoreAvgSubMat != null %}
{% assign scoreAvgTechCount = scoreAvgTech.Count | times: 1.0 %}
{% assign scoreAvgSubMatCount = scoreAvgSubMat.Count | times: 1.0 %}
Expand Down

0 comments on commit 909416a

Please sign in to comment.