summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts5
-rw-r--r--usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts4
2 files changed, 5 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
index ec7b1207..6846a7ba 100644
--- a/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-expectation/input-intent-expectation.component.ts
@@ -22,7 +22,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationType:'DELIVERY',
expectationObject:{
objectType:'CCVPN',
- objectInstance:'',
+ objectInstance:[],
},
expectationTargets:[]
};
@@ -64,6 +64,7 @@ export class InputIntentExpectationComponent implements OnInit {
handleOk(): void {
if(JSON.stringify(this.editExpectationTableData)==='{}'){
this.defaultParams['expectationId']=this.Util.getUuid()
+ this.defaultParams['expectationObject']['objectInstance']=this.defaultParams['expectationObject']['objectInstance'].split(',')
}
this.modalOpreation.emit({ "cancel": false, "param": this.defaultParams });
this.clearExpectationData()
@@ -84,7 +85,7 @@ export class InputIntentExpectationComponent implements OnInit {
expectationType:'DELIVERY',
expectationObject:{
objectType:'CCVPN',
- objectInstance:'',
+ objectInstance:[],
},
expectationTargets:[]
};
diff --git a/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts b/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
index 71624423..58a658ad 100644
--- a/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
+++ b/usecaseui-portal/src/app/views/intent-management/input-intent-management/input-intent-management.component.ts
@@ -25,7 +25,7 @@ export class InputIntentManagementComponent implements OnInit {
expectationType:'',
expectationObject:{
objectType:'',
- objectInstance:''
+ objectInstance:[]
},
expectationTargets:[
{
@@ -88,7 +88,7 @@ export class InputIntentManagementComponent implements OnInit {
expectationType:'',
expectationObject:{
objectType:'',
- objectInstance:''
+ objectInstance:[]
},
expectationTargets:[
{