From 940f27ec5f0852933c9df9d3da6d02215778fa81 Mon Sep 17 00:00:00 2001 From: Tara Epp <102187683+taraepp@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:50:29 +0000 Subject: [PATCH] set default value of empty array for esup amendments --- .../src/components/mine/ExplosivesPermit/ExplosivesPermit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core-web/src/components/mine/ExplosivesPermit/ExplosivesPermit.tsx b/services/core-web/src/components/mine/ExplosivesPermit/ExplosivesPermit.tsx index dc525d77f9..e63c434a74 100644 --- a/services/core-web/src/components/mine/ExplosivesPermit/ExplosivesPermit.tsx +++ b/services/core-web/src/components/mine/ExplosivesPermit/ExplosivesPermit.tsx @@ -173,7 +173,7 @@ export const ExplosivesPermit: FC = ({ props: { title: "View Explosives Storage & Use Permit", explosivesPermit: record, - parentPermit, + parentPermit: { explosives_permit_amendments: [], ...parentPermit }, mine, closeModal: props.closeModal, handleOpenExplosivesPermitCloseModal,