summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/operation.ts14
1 files changed, 5 insertions, 9 deletions
diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts
index 2a5298c3b0..f15f0b13b5 100644
--- a/catalog-ui/src/app/models/operation.ts
+++ b/catalog-ui/src/app/models/operation.ts
@@ -31,14 +31,6 @@ export class OperationModel {
workflowId: string;
workflowVersionId: string;
- protected OperationTypeEnum: Array<String> = [
- 'Create',
- 'Delete',
- 'Instantiate',
- 'Start',
- 'Stop'
- ];
-
constructor(operation?: any) {
if (operation) {
this.description = operation.description;
@@ -59,7 +51,11 @@ export class OperationModel {
public createOutputParamsList(outputParams: Array<OperationParameter>): void {
this.outputParams = {
- listToscaDataDefinition: outputParams
+ listToscaDataDefinition: _.map(outputParams, output => {
+ const newOutput = {...output};
+ delete newOutput.property;
+ return newOutput;
+ })
};
}
}