Commit bd70bae7 authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-' into 'master'

kpis

See merge request !1229
parents 31a33676 d3ffc8a4
...@@ -106,7 +106,7 @@ export default class DashboardCAT extends Component { ...@@ -106,7 +106,7 @@ export default class DashboardCAT extends Component {
}) })
let defaultProps = { let defaultProps = {
options: arrayBaru, options: arrayBaru.sort((a, b) => a.company_name.localeCompare(b.company_name)),
getOptionLabel: (option) => titleCase(option.company_name), getOptionLabel: (option) => titleCase(option.company_name),
}; };
let index = arrayBaru.findIndex((val) => val.company_id == comID) let index = arrayBaru.findIndex((val) => val.company_id == comID)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment