Fix warranty section visibility when lifetime warranty is enabled

Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-07 13:07:14 +00:00
parent a9ba2bc4aa
commit f1fc4e75d7

View File

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