Skip to content

Commit

Permalink
fix: added check for logPosition prob
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed Jun 10, 2023
1 parent c1d7f2d commit 23960ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/controllers/AppController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class AppController {

let logoPosEntries = Object.entries(steamLogoPos);
logoPosEntries = logoPosEntries.filter(([appid, logoPos]) => {
return logoPos.logoPosition.pinnedPosition != "REMOVE"
return logoPos.logoPosition && logoPos.logoPosition.pinnedPosition != "REMOVE"
});

originalLogoPositions.set(JSON.parse(JSON.stringify(Object.fromEntries(logoPosEntries))));
Expand Down

0 comments on commit 23960ea

Please sign in to comment.