Move email rendering to browser
the email preview no longer has a delay after each change. This also avoids a race condition in which the email currently being edited could be actually sent.
This commit is contained in:
@@ -189,3 +189,10 @@ type emailSetDTO struct {
|
||||
type emailTestDTO struct {
|
||||
Address string `json:"address"`
|
||||
}
|
||||
|
||||
type customEmailDTO struct {
|
||||
Content string `json:"content"`
|
||||
Variables []string `json:"variables"`
|
||||
Values map[string]interface{} `json:"values"`
|
||||
HTML string `json:"html"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user