Browse Source

parse integer

pull/1/head
wahyuun 10 months ago
parent
commit
d6cde6a7de
  1. 2
      src/views/Master/RoleProject/index.js

2
src/views/Master/RoleProject/index.js

@ -124,7 +124,7 @@ class index extends Component {
} }
if (this.state.role_name !== "Super Admin") { if (this.state.role_name !== "Super Admin") {
formData.columns.push( formData.columns.push(
{ "name": "company_id", "logic_operator": "=", "value": this.state.company_id, "operator": "AND" }, { "name": "company_id", "logic_operator": "=", "value": parseInt(this.state.company_id), "operator": "AND" },
) )
} else { } else {
formData.columns.push( formData.columns.push(

Loading…
Cancel
Save