Fix clone tx template on the templates UI.
This commit is contained in:
parent
d3774d606a
commit
bc07a459ea
1 changed files with 6 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue