mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
5bf246c478
commit
590d70a8da
@ -135,7 +135,7 @@ export default function PricingOverviewPanel({
|
|||||||
max_value: pricing?.overall_max
|
max_value: pricing?.overall_max
|
||||||
}
|
}
|
||||||
].filter((entry) => {
|
].filter((entry) => {
|
||||||
return entry.min_value !== null || entry.max_value !== null;
|
return !(entry.min_value == null || entry.max_value == null);
|
||||||
});
|
});
|
||||||
}, [part, pricing]);
|
}, [part, pricing]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user