RO into IO merge as of 02/05/2024.
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
import InstanceRenderManager from "../../utils/instanceRenderMgr";
|
||||
import EmailActionTypes from "./email.types";
|
||||
|
||||
const INITIAL_STATE = {
|
||||
emailConfig: {
|
||||
messageOptions: {
|
||||
from: {name: "ShopName", address: "noreply@bodyshop.app"},
|
||||
from: {
|
||||
name: "ShopName",
|
||||
address: InstanceRenderManager({
|
||||
imex: "noreply@iemx.online",
|
||||
rome: "noreply@romeonline.io",
|
||||
}),
|
||||
},
|
||||
to: null,
|
||||
replyTo: null,
|
||||
},
|
||||
template: {name: null, variables: {}},
|
||||
template: { name: null, variables: {} },
|
||||
},
|
||||
|
||||
open: false,
|
||||
@@ -24,7 +31,7 @@ const emailReducer = (state = INITIAL_STATE, action) => {
|
||||
case EmailActionTypes.SET_EMAIL_OPTIONS:
|
||||
return {
|
||||
...state,
|
||||
emailConfig: {...action.payload},
|
||||
emailConfig: { ...action.payload },
|
||||
open: true,
|
||||
};
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user