Skip to content

Commit e7ace9e

Browse files
fix: Cannot navigate to nested relation field in data browser (#2420)
1 parent 1b23966 commit e7ace9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/Data/Browser/Browser.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ class Browser extends DashboardView {
857857

858858
getRelationURL() {
859859
const relation = this.state.relation;
860-
const className = this.props.params.className;
860+
const className = relation.parent.className;
861861
const entityId = relation.parent.id;
862862
const relationName = relation.key;
863863
return generatePath(this.context, `browser/${className}/${entityId}/${relationName}`);

0 commit comments

Comments
 (0)