Skip to content

Commit

Permalink
Fix clone tx template on the templates UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Jul 9, 2022
1 parent d3774d6 commit bc07a45
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/views/Templates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit bc07a45

Please sign in to comment.