Skip to content

Commit

Permalink
fix: Cannot navigate to nested relation field in data browser (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishBarvaliya authored May 27, 2023
1 parent 1b23966 commit e7ace9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/Browser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ class Browser extends DashboardView {

getRelationURL() {
const relation = this.state.relation;
const className = this.props.params.className;
const className = relation.parent.className;
const entityId = relation.parent.id;
const relationName = relation.key;
return generatePath(this.context, `browser/${className}/${entityId}/${relationName}`);
Expand Down

0 comments on commit e7ace9e

Please sign in to comment.