summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils/common-utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/utils/common-utils.ts')
-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;
}