From d88b9054db124a03b9fa433bab73e8721ffbfa8d Mon Sep 17 00:00:00 2001 From: Shubham Date: Sun, 25 Sep 2022 18:47:13 +0200 Subject: [PATCH] Removed unnecessary page reload on the workflow list page --- client/src/components/Workflow/WorkflowIndexActions.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Workflow/WorkflowIndexActions.vue b/client/src/components/Workflow/WorkflowIndexActions.vue index cb21a5b2a76..635bfef800c 100644 --- a/client/src/components/Workflow/WorkflowIndexActions.vue +++ b/client/src/components/Workflow/WorkflowIndexActions.vue @@ -32,10 +32,10 @@ export default { }, methods: { navigateToCreate: function () { - window.location.assign(`${this.root}workflows/create`); + this.$router.push(`${this.root}workflows/create`); }, navigateToImport: function () { - window.location.assign(`${this.root}workflows/import`); + this.$router.push(`${this.root}workflows/import`); }, }, };