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

OTC-1012: Editing after save blocked, restoring reload functionality #54

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

olewandowski1
Copy link
Contributor

@olewandowski1 olewandowski1 commented Apr 3, 2023

OTC-1012

Changes:

  1. Fetching insuree mutation to enable redirect to specified paths after reload and to adjust styles/readOnly property.
  2. There are 4 scenarios which were considered here:
  • reloading after save when an insuree was created or edited (from the family overview panel) --> redirect to this family overview panel
  • reloading after save when an insuree was edited (from the insurees tab) --> redirect to this insuree and enable editing
  • reloading after save when an insuree was created (from the insurees tab) --> redirect to this newly created insuree and enable editing

At the moment, if you create an insuree from the insurees tab, the family is not attached to it and it is not possible to take some action on it. I created another ticket for it. Since this issue is not fixed, redirecting to the newly created insuree won't work as intended.

@olewandowski1 olewandowski1 marked this pull request as ready for review April 3, 2023 10:57
@delcroip delcroip merged commit 3b74807 into develop Apr 4, 2023
@delcroip delcroip deleted the feature/OTC-1012 branch April 4, 2023 10:08
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.

None yet

2 participants