IO-1533 Added check for null settings on kanban.
This commit is contained in:
@@ -222,7 +222,19 @@ export function ProductionBoardKanbanComponent({
|
||||
technician,
|
||||
card,
|
||||
bodyshop,
|
||||
associationSettings && associationSettings.kanban_settings
|
||||
(associationSettings &&
|
||||
associationSettings.kanban_settings &&
|
||||
Object.keys(associationSettings.kanban_settings).length > 0) || {
|
||||
ats: true,
|
||||
clm_no: true,
|
||||
compact: false,
|
||||
ownr_nm: true,
|
||||
sublets: true,
|
||||
ins_co_nm: true,
|
||||
production_note: true,
|
||||
employeeassignments: true,
|
||||
scheduled_completion: true,
|
||||
}
|
||||
)
|
||||
}
|
||||
onCardDragEnd={handleDragEnd}
|
||||
|
||||
Reference in New Issue
Block a user