Fixed remove from production button not closing drawer. BOD-315
This commit is contained in:
@@ -37,7 +37,7 @@ export function PartsStatusPie({ bodyshop, joblines_status }) {
|
||||
|
||||
const Calculatedata = useCallback(
|
||||
(data) => {
|
||||
if (data.length > 0) {
|
||||
if (data && data.length > 0) {
|
||||
const statusMapping = {};
|
||||
data.map((i) => {
|
||||
if (!statusMapping[i.status])
|
||||
|
||||
Reference in New Issue
Block a user