Fresh install fixes

This commit is contained in:
jokob-sk
2024-04-13 07:13:09 +10:00
parent ee90897208
commit b977781937
4 changed files with 7 additions and 1 deletions

View File

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