Skip to content

Commit 954008e

Browse files
committed
fix: show running/offline servers in Active filter
1 parent eaafcb9 commit 954008e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

public/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ async function renderServers() {
10181018
if (activeFilter !== 'all') {
10191019
filtered = filtered.filter(s => {
10201020
if (activeFilter === 'installing') return s.status === 'installing' || s.installed === 0 || s.installed === '0' || s.installed === false;
1021+
if (activeFilter === 'active') return s.status !== 'suspended' && !(s.status === 'installing' || s.installed === 0 || s.installed === '0' || s.installed === false);
10211022
return s.status === activeFilter;
10221023
});
10231024
}

0 commit comments

Comments
 (0)