Close Details should return to previous screen
Summary
Close Details
button redirects to the List view of the CRD, instead of showing the previous screen.
Steps to reproduce
- Go to any Cluster Details.
- Click on the eye icon of any CRD (e.g. the Instance Profile).
- The eye icon opens the Details view of that specific CRD (in this case, the details of the Instance Profile).
- Click on
Close Details
. - The User is redirected to the List view of that CRD (in this case, the Instance Profiles List), instead of returning to the previous screen (in this case, Cluster Details).
Expected Behaviour
When clicked on Close Details
the details should close and show the previous screen.
Possible Solution
Make Close Details
behave as the Cancel
button on the forms.
Environment
- StackGres version: 1.2.0