aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-08-16 14:43:13 +0100
committerMichael Morris <michael.morris@est.tech>2023-09-22 07:43:34 +0000
commitdb333a620e4b8dec6c58009162561b32c83d6bd9 (patch)
treee1541ffd45a005c9aa190d56b55a8fcf10175e30 /catalog-ui/src/app/utils
parent035d670c792c9408493b3d729a3ac91124c2d4df (diff)
UI Support for operation milestones
Issue-ID: SDC-4601 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9088a1d004ae3a3470aee8d831066584fd26b0d4
Diffstat (limited to 'catalog-ui/src/app/utils')
-rw-r--r--catalog-ui/src/app/utils/common-utils.ts5
1 files changed, 4 insertions, 1 deletions
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;
}