Skip to content

Commit

Permalink
fix: code
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Oct 31, 2023
1 parent 42de352 commit 0d1033a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/routes/tools/inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,8 @@ export function Inventory() {
)
: ({} as _.Dictionary<ApiModel.LcaParamList>);
const bases = (params[0]?.parameters || []) as any[];

return bases
.map((item) => [item.name, item.context.name, item.value, inputMap[item.name]?.paramValue || ''])
.map((item) => [item.name, item.context.name, item.value, inputMap[item.name]?.paramValue])
.map(([name, uuid, optName, inputData]) => ({
name,
uuid,
Expand Down

0 comments on commit 0d1033a

Please sign in to comment.