Fix TOSCA function persistent not found message 88/129588/3
authorandre.schmid <andre.schmid@est.tech>
Thu, 9 Jun 2022 20:33:35 +0000 (21:33 +0100)
committerMichael Morris <michael.morris@est.tech>
Sat, 11 Jun 2022 19:12:50 +0000 (19:12 +0000)
Fixes input/property not found message that remains on the TOSCA
function modal even after the TOSCA function dropdown is changed.

Change-Id: I6d8c622c462a33786847b857186dae2ba213354e
Issue-ID: SDC-4042
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-function.component.ts

index e44c29f..2d03732 100644 (file)
@@ -164,6 +164,7 @@ export class ToscaFunctionComponent implements OnInit {
 
     onToscaFunctionChange(): void {
         this.resetPropertySource();
+        this.resetPropertyDropdown();
         if (this.isGetInputSelected()) {
             this.setSelfPropertySource();
             this.loadPropertyDropdown();