fix(front): hide all categories card if we don't have even one

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-11-21 16:33:19 +01:00
parent 16cd377357
commit 5e86ef1e8c
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -10,6 +10,7 @@
:imageLazy="false"
/>
<router-link
v-if="promotedCategories.length > 0"
:to="{ name: RouteName.CATEGORIES }"
class="flex items-end brightness-85 h-36 w-36 md:h-52 md:w-52 rounded-lg font-semibold text-lg md:text-xl p-4 text-white bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500 hover:text-slate-200"
>