Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
The routing to view relations is incorrect if you try to view them from another list of relations.
Steps to reproduce
On a class with a relation, select "View Relation" on a relation of classes that also has relations. In this list of relations, try to select "View Relation" again.
Actual Outcome
Clicking the first "View Relation" gives us the route of the format /browser/Class1/class1objectID/Class2Relation.
Clicking the second "View Relation" on the class2 object gives us the route of format /browser/Class1/class2objectID/Class3Relation
Expected Outcome
Clicking the second "View Relation" on the class2 object should give us the route of format /browser/Class2/class2objectID/Class3Relation instead.
Environment
Dashboard
- Parse Dashboard version:
4.1.1-alpha.1
- Browser (Safari, Chrome, Firefox, Edge, etc.):
Edge
- Browser version:
100.0.1185.29
Server
- Parse Server version:
4.2.0
- Operating system:
Linux
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Heroku
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
4.4
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
MongoDB Atlas