Fix warranty section visibility when lifetime warranty is enabled (#875)

* Initial plan

* Fix warranty section visibility when lifetime warranty is enabled

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
This commit is contained in:
Copilot
2025-07-07 11:24:26 -04:00
committed by GitHub
parent f9b1327507
commit fd41065250

View File

@@ -294,7 +294,7 @@
if (preferences.value.showEmpty) {
return true;
}
return validDate(item.value?.warrantyExpires);
return item.value?.lifetimeWarranty || validDate(item.value?.warrantyExpires);
});
const warrantyDetails = computed(() => {