Skip to content

Commit

Permalink
fix: saving relation column fails if class has required fields (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
fn-faisal committed Dec 5, 2021
1 parent 1633427 commit c67db08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/Data/Browser/Browser.react.js
Expand Up @@ -394,7 +394,7 @@ class Browser extends DashboardView {
}

// check if required fields are missing
const className = this.props.params.className;
const className = this.state.newObject.className;
let requiredCols = [];
if (className) {
let classColumns = this.props.schema.data.get('classes').get(className);
Expand Down

0 comments on commit c67db08

Please sign in to comment.