Skip to content

Commit

Permalink
Don't throw an error if game doesn't have cards
Browse files Browse the repository at this point in the history
  • Loading branch information
candela97 committed Apr 13, 2024
1 parent 1efcd01 commit 14a722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Content/Features/Store/App/FBadgeProgress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// No badge data if game doesn't have cards or not logged in
if (!data) {
throw new Error("Failed to find badges data");
return;
}
let target = document.querySelector(".rightcol.game_meta_data");
Expand Down

0 comments on commit 14a722e

Please sign in to comment.