From 3fb6c47851337a77e10492157ca7a45dacae2dd5 Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Thu, 7 Sep 2023 13:18:42 -0400 Subject: [PATCH] fix: changes --- src/utils/functionUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/functionUtils.js b/src/utils/functionUtils.js index 2c083a4f..60c6b902 100644 --- a/src/utils/functionUtils.js +++ b/src/utils/functionUtils.js @@ -314,7 +314,7 @@ const stagingDetailsViewLinkInfo = (info, dataType, changeColor) => { }; export const detailsViewData = (type, detailData, dataType, changeColor) => { - if (detailData[dataType].changes[0] === null) { + if (detailData[dataType]?.changes[0] === null) { return {'---'}; }