Skip to content

Commit da29b9a

Browse files
committed
Merge branch 'DLS-Release-v1.2.0' into UAT
2 parents 5a471cd + cfea4e1 commit da29b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Services/ImportCompetenciesFromFileService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ImportCompetenciesResult PreProcessCompetenciesTable(IXLWorkbook workbook
4141
.Select(row => row.Name)
4242
.Distinct()
4343
.ToList();
44-
var newGroups = competencyRows.Select(row => row.CompetencyGroup ?? "").ToList();
44+
var newGroups = competencyRows.Select(row => row.CompetencyGroup ?? "").Distinct().ToList();
4545
foreach (var competencyRow in competencyRows)
4646
{
4747
PreProcessCompetencyRow(competencyRow, newCompetencyIds, existingIds, existingGroups, newGroups);

0 commit comments

Comments
 (0)