File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,14 @@ class Search extends React.Component {
70
70
items : clonedItems ,
71
71
} ) ;
72
72
73
- //Add horizontalGrid BPM image for Non-Steam Games
74
- if ( game . appidold && location . state . assetType == 'horizontalGrid' ) {
75
- Steam . addAsset ( location . state . assetType , game . appidold , item . url ) ;
76
- }
77
-
78
73
const downloadPromises = [ ] ;
79
74
80
75
downloadPromises . push ( Steam . addAsset ( location . state . assetType , game . appid , item . url ) ) ;
81
- // Old app id is for Big Picture Mode
82
- downloadPromises . push ( Steam . addAsset ( location . state . assetType , game . appidOld , item . url ) ) ;
76
+
77
+ // Add horizontalGrid BPM image for Non-Steam Games
78
+ if ( game . appidold && location . state . assetType == 'horizontalGrid' ) {
79
+ downloadPromises . push ( Steam . addAsset ( location . state . assetType , game . appidold , item . url ) ) ;
80
+ }
83
81
84
82
Promise . all ( downloadPromises ) . then ( ( ) => {
85
83
clonedItems [ itemIndex ] . downloading = false ;
You can’t perform that action at this time.
0 commit comments