feat: add persistence and restoration of email template filters in UI and backend

This commit is contained in:
2026-05-17 13:53:37 +03:00
parent 07f536938f
commit cc3857a409
4 changed files with 97 additions and 12 deletions
@@ -25,6 +25,8 @@ public class EmailTemplateEditViewModel
// JSON array: [{"name":"UserName","required":true}, ...]
public string VariablesJson { get; set; } = "[]";
public string? ServiceNameFilter { get; set; }
public string? KeyFilter { get; set; }
public bool IsNew => Id == null;
public string PageTitle => IsNew ? "Create Email Template" : "Edit Email Template";