change condition of display banner

This commit is contained in:
2026-06-21 14:42:27 +02:00
parent 7545b77a25
commit 6dd2cc7d96
6 changed files with 18 additions and 3 deletions
@@ -9,7 +9,7 @@ const ctx = inject(HOME_PAGE_CONTEXT_KEY)!
<template>
<DesktopHomeSection
v-if="ctx.isGaroosi.value && ctx.banners.value?.length"
v-if="ctx.bannerEnabled.value && ctx.banners.value?.length"
title="بنرها"
>
<BannerSlider
@@ -17,6 +17,7 @@
<Vue3Odometer
:value="displayGoldVal"
class="dhome-hero-price__odometer o-text"
style="font-family: iran-sans"
/>
<span class="dhome-hero-price__unit">ریال</span>
</div>