Skip to content

Commit

Permalink
fix empty site id icon (#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergomi02 authored Nov 28, 2024
1 parent 5b1d44e commit 7d032c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-dotnet-webapi/Services/CommunitySiteService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private static void GroupSitesToOrgVisually(PaginatedList<CommunitySiteAdminList
private async Task<int> GetDuplicatePecCount(int? careSettingCode, string pec, int originalSiteId)
{
return await _context.Sites
.Where(s => s.PEC == pec && s.CareSettingCode == careSettingCode && originalSiteId != s.Id)
.Where(s => s.PEC != null && s.PEC == pec && s.CareSettingCode == careSettingCode && originalSiteId != s.Id)
.CountAsync();
}

Expand Down

0 comments on commit 7d032c1

Please sign in to comment.