- Sending Newsletter, others settings.

This commit is contained in:
Paolo Arena
2019-12-04 18:21:17 +01:00
parent 6f2e4f891e
commit 4dddff5df1
10 changed files with 257 additions and 87 deletions

View File

@@ -221,6 +221,11 @@ namespace Getters {
}, 'getValueSettingsByKey')
const gettemplemailbyId = b.read((mystate: IGlobalState) => (templid): string => {
const myrec = mystate.templemail.find((rec) => rec._id === templid)
return (!!myrec) ? myrec.subject : ''
}, 'gettemplemailbyId')
export const getters = {
get testpao1_getter_contatore() {
return testpao1_getter_contatore()
@@ -268,6 +273,10 @@ namespace Getters {
return getrecSettingsByKey()
},
get gettemplemailbyId() {
return gettemplemailbyId()
},
get t() {
return t()
},