-
Notifications
You must be signed in to change notification settings - Fork 16
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
Append correct paths for org units #220
Conversation
…ting parentGraphMap from visualization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested the branch,
Root and Sub-org units have correct path appended:
"dimension": "ou",
"items": [
{
"id": "DiszpKrYNg8",
"name": "Ngelehun CHC",
"path": "/ImspTQPwCqd/O6uvpzGd5pu/YuQRtpLP10I/DiszpKrYNg8"
},
{
"id": "g8upMTyEZGZ",
"name": "Njandama MCHP",
"path": "/ImspTQPwCqd/O6uvpzGd5pu/YuQRtpLP10I/g8upMTyEZGZ"
}
]
}
🎉 This PR is included in version 33.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 32.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 33.1.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Relates to DHIS2-5987.
This PR covers some edge cases for "Open as map" feature and contains:
ou
dimension items (with/
prefix) and supplying them to current analytical object in user data storeOrgUnitDimension
dialog.P.s. I had to reimplement
removeLastPathSegment
function which was earlier imported from@dhis2/d2-ui-org-unit-dialog
component, since importing causes circular dependency error (presumably coming from d2).