[opportunities] fix poc being removed after pipeline update (#1148)

This commit is contained in:
Weiko
2023-08-10 02:52:36 +02:00
committed by GitHub
parent cd831af53d
commit a2891e50e6
3 changed files with 8 additions and 2 deletions
@@ -28,6 +28,9 @@ export const UPDATE_PIPELINE_PROGRESS = gql`
amount
closeDate
probability
pointOfContact {
id
}
}
}
`;
@@ -33,7 +33,7 @@ export function GenericEditableDateFieldEditMode({ viewField }: OwnProps) {
setFieldValue(newDateISO);
if (currentEditableFieldEntityId && updateField && newDateISO) {
if (currentEditableFieldEntityId && updateField) {
updateField(currentEditableFieldEntityId, viewField, newDateISO);
}
}