Rename init macro method name

This commit is contained in:
fayazara 2022-09-27 14:05:05 +05:30
parent 76a878c0ef
commit ad554a2341

View file

@ -248,7 +248,7 @@ export default {
if (this.$route.params.macroId) { if (this.$route.params.macroId) {
this.fetchMacro(); this.fetchMacro();
} else { } else {
this.initializeMacro(); this.initializeNewMacro();
} }
}, },
immediate: true, immediate: true,
@ -370,7 +370,7 @@ export default {
this.manifestMacro(); this.manifestMacro();
} }
}, },
initializeMacro() { initializeNewMacro() {
this.mode = 'CREATE'; this.mode = 'CREATE';
this.macro = { this.macro = {
name: '', name: '',