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

FHI Angular Highcharts: navigation group id can become undefined #799

Open
proand opened this issue Jan 23, 2025 · 0 comments · May be fixed by #804
Open

FHI Angular Highcharts: navigation group id can become undefined #799

proand opened this issue Jan 23, 2025 · 0 comments · May be fixed by #804
Assignees
Labels
Bug Something isn't working Status: Confirmed Confirmed as valid by a maintainer

Comments

@proand
Copy link
Member

proand commented Jan 23, 2025

Description

It's possible to get undefined as value on group id in the diagram navigation

What was the expected result?

A legal id.

Steps to reproduce

  1. Go to https://old.designsystem.fhi.no/developer/components/highcharts#highcharts-all-inclusive
  2. Select "Dobbel akse, linje og søyle" in the "Velg datasett"-dropdown
  3. Select "Dødsfall hjerte og kar, fordelt på fylke" in the "Velg datasett"-dropdown
  4. Click on "Graf"
  5. Nothing happens (error in console)

Relevant log output (e.g web browser console logs)

ERROR TypeError: Cannot read properties of undefined (reading 'id')
    at Qe.onDiagramTypeNavigation (main.4959dd541c930b9e.js:1:1458235)
    at main.4959dd541c930b9e.js:1:1424049
    at w_ (main.4959dd541c930b9e.js:1:1133549)
    at Object.r [as next] (main.4959dd541c930b9e.js:1:1133722)
    at I.next (main.4959dd541c930b9e.js:1:942182)
    at L._next (main.4959dd541c930b9e.js:1:941866)
    at L.next (main.4959dd541c930b9e.js:1:941559)
    at main.4959dd541c930b9e.js:1:939438
    at $ (main.4959dd541c930b9e.js:1:960213)
    at ff.next (main.4959dd541c930b9e.js:1:939277)
@proand proand added Bug Something isn't working Status: Unconfirmed Not yet confirmed as valid by a maintainer (added by default) Status: Confirmed Confirmed as valid by a maintainer and removed Status: Unconfirmed Not yet confirmed as valid by a maintainer (added by default) labels Jan 23, 2025
@proand proand self-assigned this Jan 27, 2025
@proand proand linked a pull request Jan 27, 2025 that will close this issue
@proand proand linked a pull request Jan 27, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Status: Confirmed Confirmed as valid by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant