Skip to content

Commit

Permalink
regions filter 'mark all' works
Browse files Browse the repository at this point in the history
  • Loading branch information
matssa committed Dec 12, 2023
1 parent 7f15133 commit 88b4d72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Assessments.Frontend.Web/Infrastructure/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ public static string[] FindSelectedRegions(string[] selectedRegions, Dictionary<
List<string> regions = new();
foreach (var region in selectedRegions)
{
regions.Add(allRegions[region]);
// Mark all button har "Regions", and is not a region
if (region != "Regions")
regions.Add(allRegions[region]);
}
return regions.ToArray();
}
Expand Down

0 comments on commit 88b4d72

Please sign in to comment.