installed + downloaded

This commit is contained in:
2025-11-13 23:26:07 +01:00
parent c1d20189c3
commit e19eda7919
+2 -2
View File
@@ -52,7 +52,7 @@ const App = () => {
// Show union of installed games and games with peers // Show union of installed games and games with peers
return games.filter(game => game.installed || game.downloaded || game.peer_count > 0); return games.filter(game => game.installed || game.downloaded || game.peer_count > 0);
case 'installed': case 'installed':
return games.filter(game => game.installed); return games.filter(game => game.installed || game.downloaded);
case 'all': case 'all':
default: default:
return games; return games;
@@ -449,7 +449,7 @@ const App = () => {
<button <button
className={`filter-button ${currentFilter === 'installed' ? 'active' : ''}`} className={`filter-button ${currentFilter === 'installed' ? 'active' : ''}`}
onClick={() => setCurrentFilter('installed')} onClick={() => setCurrentFilter('installed')}
title="Show only games that are currently installed on your system" title="Show games that are installed or already downloaded to your system"
> >
Installed Installed
</button> </button>