installed + downloaded
This commit is contained in:
@@ -52,7 +52,7 @@ const App = () => {
|
||||
// Show union of installed games and games with peers
|
||||
return games.filter(game => game.installed || game.downloaded || game.peer_count > 0);
|
||||
case 'installed':
|
||||
return games.filter(game => game.installed);
|
||||
return games.filter(game => game.installed || game.downloaded);
|
||||
case 'all':
|
||||
default:
|
||||
return games;
|
||||
@@ -449,7 +449,7 @@ const App = () => {
|
||||
<button
|
||||
className={`filter-button ${currentFilter === 'installed' ? 'active' : ''}`}
|
||||
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
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user