From ad554a2341db0b84a75e772f8c3f9c46b508dc4e Mon Sep 17 00:00:00 2001 From: fayazara Date: Tue, 27 Sep 2022 14:05:05 +0530 Subject: [PATCH] Rename init macro method name --- .../routes/dashboard/settings/macros/MacroEditor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/macros/MacroEditor.vue b/app/javascript/dashboard/routes/dashboard/settings/macros/MacroEditor.vue index 230360af6..5fd242477 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/macros/MacroEditor.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/macros/MacroEditor.vue @@ -248,7 +248,7 @@ export default { if (this.$route.params.macroId) { this.fetchMacro(); } else { - this.initializeMacro(); + this.initializeNewMacro(); } }, immediate: true, @@ -370,7 +370,7 @@ export default { this.manifestMacro(); } }, - initializeMacro() { + initializeNewMacro() { this.mode = 'CREATE'; this.macro = { name: '',