Skip to content

Commit

Permalink
fix: filtering by subject when subject is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
DerStimmler committed Dec 11, 2024
1 parent 67d651e commit 17b48d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coIT.Toolkit.SendGrid.TemplateManager/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ private List<ManagedTemplate> FilterAnwenden()
{
templates = templates
.Where(t =>
t.SendGridTemplate.Subject.Contains(
t.SendGridTemplate.Subject?.Contains(
ctrlTemplateFilterSubject.Text.Trim(),
StringComparison.InvariantCultureIgnoreCase
)
) ?? false
)
.ToList();
MeldungAnzeigen($"\t- nach Subject-Filterung: {templates.Count()}");
Expand Down

0 comments on commit 17b48d1

Please sign in to comment.