Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: level added to badge tile #5702

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Conversation

roger-in-kiva
Copy link
Collaborator

Screenshot 2024-11-20 at 11 16 03 a m

@roger-in-kiva roger-in-kiva merged commit 07166ba into main Nov 20, 2024
5 checks passed
@roger-in-kiva roger-in-kiva deleted the MP-1100_badge_tile_level_fix branch November 20, 2024 18:34
@@ -104,11 +104,14 @@ const selectedTier = computed(() => {
const tiers = [];
tieredBadges.value.forEach(badge => {
const tier = badge.achievementData?.tiers?.find(t => !t.completedDate);
const tierBadgeData = getTierBadgeDataByLevel(badge, tier.level);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@roger-in-kiva I'm currently seeing an error in development that I think is from this line:

TypeError: Cannot read properties of undefined (reading 'level')
    at ImpactDashboardPage-…Ew0aJ_.js:362:30356
    at Array.forEach (<anonymous>)
    at ImpactDashboardPage-…Ew0aJ_.js:362:30226
    at Zr.fn (main-8VcMS5f5.js:10:9412)
    at Zr.run (main-8VcMS5f5.js:10:1517)
    at get value (main-8VcMS5f5.js:10:9657)
    at HT (main-8VcMS5f5.js:10:1674)
    at get dirty (main-8VcMS5f5.js:10:1236)
    at y (main-8VcMS5f5.js:14:12520)
    at cp (main-8VcMS5f5.js:14:2693)
    at ne (main-8VcMS5f5.js:14:42805)
    at Zr.q [as fn] (main-8VcMS5f5.js:14:41794)
    at Zr.run (main-8VcMS5f5.js:10:1517)
    at G.w.update (main-8VcMS5f5.js:14:42660)
    at ie (main-8VcMS5f5.js:14:41531)
    at D (main-8VcMS5f5.js:14:41171)
    at p (main-8VcMS5f5.js:14:38057)
    at C (main-8VcMS5f5.js:14:40413)
    at x (main-8VcMS5f5.js:14:40961)
    at p (main-8VcMS5f5.js:14:37991)
    at C (main-8VcMS5f5.js:14:40413)
    at x (main-8VcMS5f5.js:14:40961)
    at p (main-8VcMS5f5.js:14:37991)
    at C (main-8VcMS5f5.js:14:40413)
    at I (main-8VcMS5f5.js:14:39760)
    at _ (main-8VcMS5f5.js:14:38656)
    at p (main-8VcMS5f5.js:14:38031)
    at Zr.q [as fn] (main-8VcMS5f5.js:14:41929)
    at Zr.run (main-8VcMS5f5.js:10:1517)
    at G.w.update (main-8VcMS5f5.js:14:42660)
    at An (main-8VcMS5f5.js:14:1381)
    at Ty (main-8VcMS5f5.js:14:3112)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants