Skip to content

Commit

Permalink
fix(profile): fix people who dont have otherJobLevels set
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 13, 2023
1 parent 4cb2bde commit 56d92f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/pages/profile/profile.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class ProfilePage implements OnInit {
name: player.job,
level: player.level,
},
...Object.keys(player.otherJobLevels).map((job) => {
...Object.keys(player.otherJobLevels || {}).map((job) => {
return {
name: job,
level: player.otherJobLevels[job],
Expand Down

0 comments on commit 56d92f7

Please sign in to comment.