From db333a620e4b8dec6c58009162561b32c83d6bd9 Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Wed, 16 Aug 2023 14:43:13 +0100 Subject: UI Support for operation milestones Issue-ID: SDC-4601 Signed-off-by: JvD_Ericsson Change-Id: I9088a1d004ae3a3470aee8d831066584fd26b0d4 --- catalog-ui/src/app/utils/common-utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app/utils/common-utils.ts') diff --git a/catalog-ui/src/app/utils/common-utils.ts b/catalog-ui/src/app/utils/common-utils.ts index b4e184ab44..92398e871d 100644 --- a/catalog-ui/src/app/utils/common-utils.ts +++ b/catalog-ui/src/app/utils/common-utils.ts @@ -181,13 +181,16 @@ export class CommonUtils { newOperation.interfaceType = interf.type; newOperation.interfaceId = interf.uniqueId; - const {inputs, outputs} = operation; + const {inputs, outputs, milestones} = operation; if (inputs) { newOperation.createInputsList(inputs.listToscaDataDefinition); } if (outputs) { newOperation.createOutputsList(outputs.listToscaDataDefinition); } + if (milestones) { + newOperation.milestones = milestones; + } return newOperation; } -- cgit 1.2.3-korg