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

This commit is contained in:
Weiko
2023-08-09 17:52:36 -07:00
committed by GitHub
parent cd831af53d
commit a2891e50e6
3 changed files with 8 additions and 2 deletions

View File

@ -28,6 +28,9 @@ export const UPDATE_PIPELINE_PROGRESS = gql`
amount
closeDate
probability
pointOfContact {
id
}
}
}
`;

View File

@ -33,7 +33,7 @@ export function GenericEditableDateFieldEditMode({ viewField }: OwnProps) {
setFieldValue(newDateISO);
if (currentEditableFieldEntityId && updateField && newDateISO) {
if (currentEditableFieldEntityId && updateField) {
updateField(currentEditableFieldEntityId, viewField, newDateISO);
}
}