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

fix(adminPanel): RN-1474: Fix editing visual relation records #6047

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

tcaiger
Copy link
Contributor

@tcaiger tcaiger commented Jan 13, 2025

Issue #: fix(adminPanel): RN-1474: Fix editing visual relation records

Changes:

  • Add data accessors to correctly get the initial data for dashboard relation and map overlay group relation records

@@ -15,6 +15,7 @@ export const FIELDS = {
optionLabelKey: 'dashboard.code',
optionValueKey: 'dashboard.id',
sourceKey: 'dashboard_id',
accessor: record => record['dashboard.code'],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If an accessor is not set, the source key is used to get the initial data. Since we are trying to display the code, nothing was showing up.

Copy link
Contributor

@jaskfla jaskfla left a comment

Choose a reason for hiding this comment

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

🙏

avaek added 2 commits January 20, 2025 10:10
merge: update branch with latest dev
merge: update branch with latest dev
@jaskfla jaskfla mentioned this pull request Feb 17, 2025
1 task
@avaek avaek mentioned this pull request Feb 18, 2025
1 task
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