File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ import {
25
25
epicCategories ,
26
26
gogCategories ,
27
27
hyperPlayCategories ,
28
- sideloadedCategories
28
+ sideloadedCategories ,
29
+ steamCategories
29
30
} from 'frontend/helpers/library'
30
31
import storeAuthState from './storeAuthState'
31
32
@@ -347,10 +348,10 @@ class LibraryState {
347
348
} else {
348
349
const isEpic = epicCategories . includes ( this . category )
349
350
const isGog = gogCategories . includes ( this . category )
351
+ const isSteam = steamCategories . includes ( this . category )
350
352
const epicLibrary = isEpic ? this . epicLibrary : [ ]
351
353
const gogLibrary = isGog ? this . gogLibrary : [ ]
352
- const steamLibrary =
353
- this . category === 'steam' ? steamLibraryStore . get ( 'games' , [ ] ) : [ ]
354
+ const steamLibrary = isSteam ? steamLibraryStore . get ( 'games' , [ ] ) : [ ]
354
355
const sideloadedApps = sideloadedCategories . includes ( this . category )
355
356
? this . sideloadedLibrary
356
357
: [ ]
You can’t perform that action at this time.
0 commit comments