cache fixes 🩹

This commit is contained in:
Jokob-sk
2024-03-16 11:24:24 +11:00
parent 7c70d435e4
commit 1fa49a7730
3 changed files with 7 additions and 7 deletions

View File

@@ -386,7 +386,7 @@ function filterDataByStatus(data, status) {
case 'new':
return item.dev_NewDevice === 1;
case 'down':
return item.dev_PresentLastScan === 0 && item.dev_AlertDeviceDown !== 0;
return (item.dev_PresentLastScan === 0 && item.dev_AlertDeviceDown !== 0) || item.dev_PresentLastScan === 0;
case 'archived':
return item.dev_Archived === 1;
default: