From 1344b39e5629f9e0cdaad5b5b2fea996208f5caa Mon Sep 17 00:00:00 2001 From: Mamalizz-dev Date: Sat, 21 Feb 2026 02:24:31 +0330 Subject: [PATCH 1/3] fixed gender input bug in dashboard --- frontend/components/global/product/ProductCard.vue | 8 ++++++-- frontend/pages/profile/index.vue | 7 ++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/frontend/components/global/product/ProductCard.vue b/frontend/components/global/product/ProductCard.vue index b77c6ca..2d87e89 100644 --- a/frontend/components/global/product/ProductCard.vue +++ b/frontend/components/global/product/ProductCard.vue @@ -108,7 +108,7 @@ const parallaxStyle = computed(() => {
- + {{ title }}
@@ -118,7 +118,11 @@ const parallaxStyle = computed(() => { > {{ price }} - {{ priceAfter }} + {{ priceAfter }}
diff --git a/frontend/pages/profile/index.vue b/frontend/pages/profile/index.vue index 80b4b8b..4ac2035 100644 --- a/frontend/pages/profile/index.vue +++ b/frontend/pages/profile/index.vue @@ -33,7 +33,7 @@ const personalData = ref({ first_name: account.value?.first_name ?? "", last_name: account.value?.last_name ?? "", phone: account.value?.phone ?? "", - gender: account.value?.gender ?? undefined, + gender: account.value?.gender || undefined, email: account.value?.email ?? "", birth_date: account.value?.birth_date ?? "", }); @@ -64,7 +64,7 @@ const formRules = computed(() => { required: helpers.withMessage("فیلد شماره تلفن الزامی می باشد", required), phoneValidator: helpers.withMessage( "شماره تلفن وارد شده معتبر نمی باشد", - helpers.regex(/^0?[1-9][0-9]{9}$/) + helpers.regex(/^0?[1-9][0-9]{9}$/), ), }, }; @@ -99,7 +99,7 @@ const updateData = () => { }, }); }, - } + }, ); }; @@ -243,6 +243,7 @@ const handleSubmit = (withValidation: boolean) => { From c5d0d1b1cb8b1209f7f804a579fce2e5d8dc56ef Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Sun, 22 Feb 2026 01:07:57 +0330 Subject: [PATCH 2/3] Update categories slider slides count problem --- .../global/product-detail/ProductsSlider.vue | 8 ++++---- frontend/components/home/Categories.vue | 8 +++++++- frontend/pages/index.vue | 10 +++++----- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/frontend/components/global/product-detail/ProductsSlider.vue b/frontend/components/global/product-detail/ProductsSlider.vue index d2593c2..401149f 100644 --- a/frontend/components/global/product-detail/ProductsSlider.vue +++ b/frontend/components/global/product-detail/ProductsSlider.vue @@ -27,12 +27,12 @@ const onSwiper = (swiper: SwiperClass) => {