Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix clone tx template on the templates UI.

Kailash Nadhbc07a459ea47
diff --git a/frontend/src/views/Templates.vue b/frontend/src/views/Templates.vue
index 8cd1e5c1..8a4a15b9 100644
--- a/frontend/src/views/Templates.vue
+++ b/frontend/src/views/Templates.vue
@@ -166,7 +166,12 @@ export default Vue.extend({
},
cloneTemplate(name, t) {
- const data = { name, body: t.body, type: t.type };
+ const data = {
+ name,
+ type: t.type,
+ subject: t.subject,
+ body: t.body,
+ };
this.$api.createTemplate(data).then((d) => {
this.$api.getTemplates();
this.$emit('finished');