Skip to content

Commit

Permalink
Improved: added props true entry for add-configuration route (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed May 31, 2024
1 parent 65b8bf2 commit c788184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const routes: Array<RouteRecordRaw> = [
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)
Expand Down

0 comments on commit c788184

Please sign in to comment.