From d0018335c3a146dfc2e8fdcc017f35e0ceb5b61f Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 21 May 2024 18:44:43 +0530 Subject: [PATCH] Improved: added name to routes, fixed indentation, and remove showBackdrop property (#1) --- src/components/SelectOperatingCountriesModal.vue | 2 +- src/router/index.ts | 5 +++++ src/views/CreateProductStore.vue | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/SelectOperatingCountriesModal.vue b/src/components/SelectOperatingCountriesModal.vue index d70602a..5f5e249 100644 --- a/src/components/SelectOperatingCountriesModal.vue +++ b/src/components/SelectOperatingCountriesModal.vue @@ -60,6 +60,6 @@ function closeModal() { \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 70e0346..320631c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -38,10 +38,12 @@ const routes: Array = [ }, { path: "product-store", + name: "ProductStore", component: () => import("@/views/ProductStore.vue") }, { path: "settings", + name: "Settings", component: () => import("@/views/Settings.vue") } ], @@ -49,14 +51,17 @@ const routes: Array = [ }, { path: "/create-product-store", + name: "CreateProductStore", component: CreateProductStore }, { path: "/add-configurations", + name: "AddConfigurations", component: AddConfigurations }, { path: "/product-store-details/:productStoreId", + name: "ProductStoreDetails", component: ProductStoreDetails, props: true }, diff --git a/src/views/CreateProductStore.vue b/src/views/CreateProductStore.vue index 95ea6d0..834bf25 100644 --- a/src/views/CreateProductStore.vue +++ b/src/views/CreateProductStore.vue @@ -63,8 +63,7 @@ function manageConfigurations() { async function openSelectOperatingCountriesModal() { const modal = await modalController.create({ - component: SelectOperatingCountriesModal, - showBackdrop: true + component: SelectOperatingCountriesModal }) modal.present()