stash
This commit is contained in:
parent
b91a1ed371
commit
6f2196f78b
1 changed files with 1 additions and 6 deletions
|
@ -30,11 +30,6 @@ import FormatedText from "@/components/inputs/FormatedText.vue";
|
|||
export default {
|
||||
name: 'Settings',
|
||||
components: {FormatedText, Table},
|
||||
data() {
|
||||
return {
|
||||
localChanges: []
|
||||
};
|
||||
},
|
||||
computed: mapState(['messageTemplates', 'messageTemplateVariables']),
|
||||
methods: {
|
||||
...mapActions(['fetchMessageTemplates', 'fetchMessageTemplateVariables']),
|
||||
|
@ -45,7 +40,7 @@ export default {
|
|||
},
|
||||
changeMessageTemplate(id, message) {
|
||||
console.log(id, message);
|
||||
this.localChanges.forEach(template => {
|
||||
this.messageTemplates.forEach(template => {
|
||||
if (template.id === id) {
|
||||
template.message = message;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue