Skip to content

Commit

Permalink
fix: removed code from another bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish Baravaliya authored and Ashish Baravaliya committed Apr 14, 2023
1 parent 4cc5026 commit 94636aa
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 = relation.parent.className;
const className = this.props.params.className;
const entityId = relation.parent.id;
const relationName = relation.key;
return generatePath(this.context, `browser/${className}/${entityId}/${relationName}`);
Expand Down

0 comments on commit 94636aa

Please sign in to comment.