IO-1533 Resolve defaults check issue for production board.
This commit is contained in:
@@ -222,19 +222,21 @@ export function ProductionBoardKanbanComponent({
|
|||||||
technician,
|
technician,
|
||||||
card,
|
card,
|
||||||
bodyshop,
|
bodyshop,
|
||||||
(associationSettings &&
|
associationSettings &&
|
||||||
associationSettings.kanban_settings &&
|
associationSettings.kanban_settings &&
|
||||||
Object.keys(associationSettings.kanban_settings).length > 0) || {
|
Object.keys(associationSettings.kanban_settings).length > 0
|
||||||
ats: true,
|
? associationSettings.kanban_settings
|
||||||
clm_no: true,
|
: {
|
||||||
compact: false,
|
ats: true,
|
||||||
ownr_nm: true,
|
clm_no: true,
|
||||||
sublets: true,
|
compact: false,
|
||||||
ins_co_nm: true,
|
ownr_nm: true,
|
||||||
production_note: true,
|
sublets: true,
|
||||||
employeeassignments: true,
|
ins_co_nm: true,
|
||||||
scheduled_completion: true,
|
production_note: true,
|
||||||
}
|
employeeassignments: true,
|
||||||
|
scheduled_completion: true,
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
onCardDragEnd={handleDragEnd}
|
onCardDragEnd={handleDragEnd}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
alter table "public"."associations" alter column "kanban_settings" set default jsonb_build_object();
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
alter table "public"."associations" alter column "kanban_settings" set default '{"ats": true, "clm_no": true, "compact": false, "ownr_nm": true, "sublets": true, "ins_co_nm": true, "production_note": true, "employeeassignments": true, "scheduled_completion": true}';
|
||||||
Reference in New Issue
Block a user