selectedInterfaceOperation: operation ? operation : new InterfaceOperationModel(),
validityChangedCallback: this.enableOrDisableSaveButton,
isViewOnly: this.isViewOnly,
+ isEdit: true,
modelName: this.componentMetaData.model
}
);
if (!isArtifactChecked) {
let artifactName = interfaceOperationHandlerComponentInstance.artifactName;
artifactName = artifactName === undefined ? '' : artifactName;
- operationUpdated.implementation = new ArtifactModel({'artifactName': artifactName} as ArtifactModel);
+ operationUpdated.implementation = new ArtifactModel({'artifactName': artifactName, 'artifactVersion': ''} as ArtifactModel);
}
this.topologyTemplateService.updateComponentInstanceInterfaceOperation(
this.componentMetaData.uniqueId,