From c78818492d47a126d3898d331f12b00f8c5b02f9 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Fri, 31 May 2024 16:22:53 +0530 Subject: [PATCH] Improved: added props true entry for add-configuration route (#7) --- src/router/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/router/index.ts b/src/router/index.ts index ce97b3d..98830d4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -63,6 +63,7 @@ const routes: Array = [ path: "/add-configurations/:productStoreId", name: "AddConfigurations", component: AddConfigurations, + props: true, beforeEnter: (to, from, next) => { if(from.path === "/create-product-store") next() else router.push(from.path)