|
|
@@ -96,13 +96,12 @@ return ( |
|
|
|
criteria={searchCriteria} |
|
|
|
onSearch={async (query: any) => { |
|
|
|
const [custType, id] = readIntFromString(query.customer) as [string, number] |
|
|
|
let index = 0 |
|
|
|
let postData: ProjectResourceOverconsumptionReportRequest = { |
|
|
|
status: "All", |
|
|
|
lowerLimit: 0.9 |
|
|
|
} |
|
|
|
if (query.team.length > 0 && query.team.toLocaleLowerCase() !== "all") { |
|
|
|
index = teamCombo.findIndex(team => team === query.team) |
|
|
|
const index = teamCombo.findIndex(team => team === query.team) |
|
|
|
const teamId = team[index].id |
|
|
|
postData.teamId = teamId |
|
|
|
} |
|
|
|