-
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
fix: [DHIS2-15694] Cancel button in Relationship #3471
fix: [DHIS2-15694] Cancel button in Relationship #3471
Conversation
@@ -60,22 +58,12 @@ const TeiRegistrationEntryPlain = | |||
|
|||
const handleOnCancel = () => { | |||
if (!isUserInteractionInProgress) { | |||
navigateToWorkingListsPage(); | |||
onCancel(); |
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.
Hey @eirikhaugstulen,
Looks like onCancel
is not properly defined when creating a new relationship from the /viewEvent
page. Can you have a look?
Thanks!
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.
Thanks! Should be fixed now 👍
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.
LGTM! 👏
🚀 Deployed on https://deploy-preview-3471--dhis2-capture.netlify.app |
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.41,2.40.3,2.39.4,2.38.6 versions
…CancelButtonInRelationship # Conflicts: # src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/DataEntry/TrackedEntityInstance/DataEntryTrackedEntityInstance.js # src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.container.js
🎉 This PR is included in version 100.47.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
The cancel button on the registration form takes the user to the wrong place.
TECH-Summary: