mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Add Server Email Rules
This commit is contained in:
@@ -16,6 +16,7 @@ public class StoreEmailRuleViewModel
|
||||
{
|
||||
if (data is not null)
|
||||
{
|
||||
StoreId = data.StoreId;
|
||||
Data = data;
|
||||
OfferingId = data.OfferingId;
|
||||
AdditionalData = data.GetBTCPayAdditionalData() ?? new();
|
||||
@@ -51,6 +52,7 @@ public class StoreEmailRuleViewModel
|
||||
public bool CanChangeTrigger { get; set; } = true;
|
||||
public bool CanChangeCondition { get; set; } = true;
|
||||
public string OfferingId { get; set; }
|
||||
public string StoreId { get; set; }
|
||||
|
||||
public string[] ToAsArray()
|
||||
=> (To ?? "").Split(',', StringSplitOptions.RemoveEmptyEntries)
|
||||
|
||||
Reference in New Issue
Block a user