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

[Bugfix] instance.UI.setActiveLeftPanel not working in modular UI #1070

Open
wants to merge 1 commit into
base: 10.10
Choose a base branch
from

Conversation

Olliwehr
Copy link

@Olliwehr Olliwehr commented Jul 2, 2024

Concrete data-element identifier like "thumbnailsPanel" are obviously not included in a collection that consists of objects that have the form

{
  dataElement ...
  location ...
  render: ...
}

So mapping these down to their dataElement property should make the inclusion check work again :)

I ran npm run lint before but because of just a single changed line I think there isn't much work to be done here 😄

Concrete data-element identifier like "thumbnailsPanel" are obviously not included
in a collection that consists of objects that have the form

{
  dataElement ...,
  location ...
  render: ...
}

So mapping these down to the dataElement should make the inclusion check work again :)
@Olliwehr Olliwehr changed the base branch from 10.10 to master July 2, 2024 20:42
@Olliwehr Olliwehr changed the base branch from master to 10.10 July 2, 2024 20:42
@Olliwehr
Copy link
Author

Olliwehr commented Jul 2, 2024

Uhh, quickly switched back to 10.10 as base as switching to master showing some strange diffs. Hit me up if I should change the base/PR to your desired target! 🙂

@Olliwehr
Copy link
Author

Olliwehr commented Jul 3, 2024

It might need further testing, as I think there are some troubles with the left panel not showing up correctly after my change. :(
But I did not see any further errors, so don't know why this happens.

@bollain bollain self-requested a review July 5, 2024 00:50
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.

[Bug] instance.UI.setActiveLeftPanel not working in modular UI
1 participant