Rename fieldId and objectId into fieldMetadataId and objectMetadataId (#2421)

* Rename fieldId and objectId into fieldMetadataId and objectMetadataId

* Fix tests
This commit is contained in:
Charles Bochet
2023-11-10 14:35:18 +01:00
committed by GitHub
parent 57cfd4db45
commit 618513afcd
136 changed files with 544 additions and 402 deletions

View File

@ -33,7 +33,7 @@ export const HooksCompanyBoardEffect = () => {
setAvailableSortDefinitions,
setAvailableFieldDefinitions,
setEntityCountInCurrentView,
setViewObjectId,
setViewObjectMetadataId,
setViewType,
} = useView();
@ -83,9 +83,9 @@ export const HooksCompanyBoardEffect = () => {
]);
useEffect(() => {
setViewObjectId?.('company');
setViewObjectMetadataId?.('company');
setViewType?.(ViewType.Kanban);
}, [setViewObjectId, setViewType]);
}, [setViewObjectMetadataId, setViewType]);
const pipelineStageIds = pipeline?.pipelineStages
?.map((pipelineStage) => pipelineStage.id)