0
0
Fork 0

feat: handle dates

This commit is contained in:
Javier Segarra 2024-07-11 12:29:48 +02:00
parent 8018a3ac46
commit 4a12fd08e0
1 changed files with 1 additions and 2 deletions

View File

@ -69,7 +69,7 @@ const onFixedPricesFetched = (data) => {
console.log(item.hasMinPrice);
item.hasMinPrice = `${item.hasMinPrice !== 0}`;
});
fixedPrices.value = Array(200).fill(...data);
fixedPrices.value = data;
// el objetivo de guardar una copia de las rows es evitar guardar cambios si la data no cambió al disparar los eventos
fixedPricesOriginalData.value = JSON.parse(JSON.stringify(data));
};
@ -530,7 +530,6 @@ onUnmounted(() => (stateStore.rightDrawer = false));
style="max-width: 125px"
:show-event="false"
v-model="props.row.started"
:options="(date) => date < props.row.ended"
/>
</QTd>
</template>