Explorar el Código

fix: :bug: corrigir estoque zerado na listagem da loja

Refs: 868kf24hh
joykepler hace 6 días
padre
commit
70ca334984
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/pages/loja/LojaPage.vue

+ 1 - 1
src/pages/loja/LojaPage.vue

@@ -276,7 +276,7 @@ onMounted(async () => {
 
     itemsData.forEach((item) => {
       if (item.variations?.length) {
-        selectedVariations.value[item.id] = item.variations ?? item.variations[0];
+        selectedVariations.value[item.id] = item.variations[0];
       }
     });
   } catch (e) {