refactor: refs #6897 update component props and improve UI handling in Entry pages #1520

Merged
pablone merged 3 commits from 6897-fixSomeCaus into test 2025-02-28 12:29:18 +00:00
2 changed files with 0 additions and 14 deletions
Showing only changes of commit 61aa750ae0 - Show all commits

View File

@ -158,7 +158,6 @@ const getBadgeAttrs = (_date) => {
const scrollToToday = async () => { const scrollToToday = async () => {
await nextTick(); await nextTick();
console.log('today.toISOString(): ', today.toISOString());
const todayCell = document.querySelector(`td[data-date="${today.toISOString()}"]`); const todayCell = document.querySelector(`td[data-date="${today.toISOString()}"]`);
Outdated
Review

cuidao

cuidao
if (todayCell) { if (todayCell) {
todayCell.scrollIntoView({ behavior: 'smooth', block: 'center' }); todayCell.scrollIntoView({ behavior: 'smooth', block: 'center' });

View File

@ -208,15 +208,6 @@ onMounted(async () => {
if (nTo && nTo != oTo) nTo = getDate(new Date(nTo), 'to'); if (nTo && nTo != oTo) nTo = getDate(new Date(nTo), 'to');
updateFilter(); updateFilter();
}); });
const rows = document.querySelectorAll('tr');
console.log('rows: ', rows);
rows.forEach((row) => {
const td = row.querySelector('td[data-is-inventory="1"]');
if (td) {
row.classList.add('inventory-row');
}
});
}); });
function getBadgeClass(groupingMode, expectedGrouping) { function getBadgeClass(groupingMode, expectedGrouping) {
@ -363,10 +354,6 @@ function highlightedRow(row) {
Hide inventory supplier: Ocultar proveedor inventario Hide inventory supplier: Ocultar proveedor inventario
</i18n> </i18n>
<style lang="scss" scoped> <style lang="scss" scoped>
.inventory-row {
background-color: #f0f0f0; /* Cambia el color de fondo o cualquier otro estilo */
}
.q-badge--rounded { .q-badge--rounded {
border-radius: 50%; border-radius: 50%;
} }