Skip to content

Commit

Permalink
fix: add one more optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Nov 26, 2024
1 parent 5a10410 commit 20ad09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Portfolio/MyKiva/MyKivaPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const userBalance = computed(() => userInfo.value?.userAccount?.balance ?? '');
const allBadgesCompleted = computed(() => {
const tieredBadges = badgeData.value?.filter(b => defaultBadges.includes(b?.id));
return tieredBadges.every(b => !b.achievementData?.tiers?.find(t => !t?.completedDate));
return tieredBadges?.every(b => !b.achievementData?.tiers?.find(t => !t?.completedDate));
});
const handleShowNavigation = () => {
Expand Down

0 comments on commit 20ad09c

Please sign in to comment.