-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: [DHIS2-17956] Display name for org unit in changelog #3826
feat: [DHIS2-17956] Display name for org unit in changelog #3826
Conversation
…/feat/DHIS2-17771_OrgUnitContextInTablesAndLists
…/feat/DHIS2-17956_DisplayNameForOrgUnitInChangelog
…/feat/DHIS2-17956_DisplayNameForOrgUnitInChangelog
@@ -88,9 +87,10 @@ function convertStatusForDisplay(clientValue: Object) { | |||
); | |||
} | |||
|
|||
function convertOrgUnitForDisplay(clientValue: { id: string }) { | |||
function convertOrgUnitForDisplay(clientValue: string | Object) { |
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.
NIT: improve the flow type clientValue: string | {id: string}
🚀 Deployed on https://deploy-preview-3826.capture.netlify.dhis2.org |
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 successfully on 2.42 and 2.41.2 versions
# [101.12.0](v101.11.2...v101.12.0) (2024-10-15) ### Features * [DHIS2-17956] Display name for org unit in changelog ([#3826](#3826)) ([5299f37](5299f37))
🎉 This PR is included in version 101.12.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
DHIS2-17956:
clientValue
is submitted as a string or an object. From the changelog, the variable is sent as a string, but before these changes, the converting function only expected to get in an object withid