Skip to content

Commit

Permalink
Improved: added name to routes, fixed indentation, and remove showBac…
Browse files Browse the repository at this point in the history
…kdrop property (#1)
  • Loading branch information
amansinghbais committed May 21, 2024
1 parent 9de9d80 commit d001833
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SelectOperatingCountriesModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ function closeModal() {

<style scoped>
ion-content {
--padding-bottom: 80px;
--padding-bottom: 80px;
}
</style>
5 changes: 5 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,30 @@ const routes: Array<RouteRecordRaw> = [
},
{
path: "product-store",
name: "ProductStore",
component: () => import("@/views/ProductStore.vue")
},
{
path: "settings",
name: "Settings",
component: () => import("@/views/Settings.vue")
}
],
beforeEnter: authGuard
},
{
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
},
Expand Down
3 changes: 1 addition & 2 deletions src/views/CreateProductStore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ function manageConfigurations() {
async function openSelectOperatingCountriesModal() {
const modal = await modalController.create({
component: SelectOperatingCountriesModal,
showBackdrop: true
component: SelectOperatingCountriesModal
})
modal.present()
Expand Down

0 comments on commit d001833

Please sign in to comment.