diff --git a/src/components/GrossDepositionEnviroment/GrossDepositionEnviromentGroup/GrossDepositionEnviromentGroup.tsx b/src/components/GrossDepositionEnviroment/GrossDepositionEnviromentGroup/GrossDepositionEnviromentGroup.tsx index 59c606e..e393698 100644 --- a/src/components/GrossDepositionEnviroment/GrossDepositionEnviromentGroup/GrossDepositionEnviromentGroup.tsx +++ b/src/components/GrossDepositionEnviroment/GrossDepositionEnviromentGroup/GrossDepositionEnviromentGroup.tsx @@ -113,7 +113,10 @@ export const GrossDepositionEnviromentGroup = ({ id: id, requestBody: postRequestBody, }); - if (rowUpload.success) handleGdeDialog(); + if (rowUpload.success) { + setGdeObject(defaultGdeData); + handleGdeDialog(); + } } }; @@ -149,14 +152,24 @@ export const GrossDepositionEnviromentGroup = ({ /> - {row.grossDepEnv.identifier} - {row.depEnv.identifier} - {row.subenv.identifier} + + {row.grossDepEnv.equinorCode + + ' ' + + row.grossDepEnv.identifier} + + + {row.grossDepEnv.equinorCode + ' ' + row.depEnv.identifier} + + + {row.grossDepEnv.equinorCode + ' ' + row.subenv.identifier} + {row.architecturalElements.length > 0 && ( )}