diff --git a/src/constants/MoveHistory/EventTemplates/CreateMTOShipment/createMTOShipment.jsx b/src/constants/MoveHistory/EventTemplates/CreateMTOShipment/createMTOShipment.jsx
index e3bb4d67a9c..d16f504e0b0 100644
--- a/src/constants/MoveHistory/EventTemplates/CreateMTOShipment/createMTOShipment.jsx
+++ b/src/constants/MoveHistory/EventTemplates/CreateMTOShipment/createMTOShipment.jsx
@@ -7,23 +7,11 @@ import { getMtoShipmentLabel } from 'utils/formatMtoShipment';
const formatChangedValues = (historyRecord) => {
const { changedValues } = historyRecord;
- const { diversion, usesExternalVendor } = historyRecord.changedValues;
-
const newChangedValues = {
...changedValues,
...getMtoShipmentLabel(historyRecord),
};
- if (diversion) {
- newChangedValues.diversion = 'Yes';
- } else {
- newChangedValues.diversion = 'No';
- }
- if (usesExternalVendor) {
- newChangedValues.uses_external_vendor = 'Yes';
- } else {
- newChangedValues.uses_external_vendor = 'No';
- }
if (historyRecord.context[0].shipment_type === 'PPM') {
newChangedValues.status = null; // Status will always be draft when shipment is created, not useful information.
}
diff --git a/src/constants/MoveHistory/EventTemplates/UpdateCustomer/updateCustomer.jsx b/src/constants/MoveHistory/EventTemplates/UpdateCustomer/updateCustomer.jsx
index 3e005595d29..0d94f0123b8 100644
--- a/src/constants/MoveHistory/EventTemplates/UpdateCustomer/updateCustomer.jsx
+++ b/src/constants/MoveHistory/EventTemplates/UpdateCustomer/updateCustomer.jsx
@@ -5,27 +5,10 @@ import o from 'constants/MoveHistory/UIDisplay/Operations';
import t from 'constants/MoveHistory/Database/Tables';
import LabeledDetails from 'pages/Office/MoveHistory/LabeledDetails';
-const formatChangedValues = (historyRecord) => {
- const { changedValues } = historyRecord;
- const { emailIsPreferred, phoneIsPreferred } = changedValues;
- const newChangedValues = { ...changedValues };
- if (emailIsPreferred) {
- newChangedValues.email_is_preferred = 'Yes';
- } else {
- newChangedValues.email_is_preferred = 'No';
- }
- if (phoneIsPreferred) {
- newChangedValues.phone_is_preferred = 'Yes';
- } else {
- newChangedValues.phone_is_preferred = 'No';
- }
- return { ...historyRecord, changedValues: newChangedValues };
-};
-
export default {
action: a.UPDATE,
eventName: o.updateCustomer,
tableName: t.service_members,
getEventNameDisplay: () => 'Updated profile',
- getDetails: (historyRecord) => ,
+ getDetails: (historyRecord) => ,
};