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

Bug: Multiple master programmes confuse frontend #5186

Open
MichaelAkvo opened this issue Jan 4, 2023 · 0 comments
Open

Bug: Multiple master programmes confuse frontend #5186

MichaelAkvo opened this issue Jan 4, 2023 · 0 comments

Comments

@MichaelAkvo
Copy link
Contributor

What were you doing?

As an admin, I created a new master project in the test environment https://rsr.akvotest.org

  • Create a new, standalone project
  • Add a new project hierarchy and make it a master program
  • Create a contributing project for the new program
    image
  • Create a new program
    image
  • Open the master programme's hierarchy
    image

What should've happened?

Not entirely sure but at the moment only the project is being shown in the hierarchy and not the child program.

My environment

Browser: Firefox 107.0 (64-bit)

Additional context

The code selects the master program in an unstable manner:

const masterProgram = userRdr.programs.find(it => it.isMasterProgram)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Hold
Development

No branches or pull requests

1 participant