feat: add persistence and restoration of email template filters in UI and backend
This commit is contained in:
+2
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user