aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-12-16 08:30:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-16 08:30:21 +0000
commit11c8679592f4f0e273643a54b6be9c9aebe148e8 (patch)
tree228838c536568f43fabe6a99c3b99dbdb69fd51c /vid-webpack-master
parent6c2d093616066502c1551851eaa66e17de0b562f (diff)
parent56fb864d82b0c30efbb1f0e18174b53b78e0ccc2 (diff)
Merge "fix FE unit test serviceBase modal"
Diffstat (limited to 'vid-webpack-master')
-rw-r--r--vid-webpack-master/src/app/shared/models/serviceBase.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/vid-webpack-master/src/app/shared/models/serviceBase.ts b/vid-webpack-master/src/app/shared/models/serviceBase.ts
index b6dec0fbb..afa8a8136 100644
--- a/vid-webpack-master/src/app/shared/models/serviceBase.ts
+++ b/vid-webpack-master/src/app/shared/models/serviceBase.ts
@@ -2,8 +2,10 @@ export class InstantiationBase {
readonly jobId: string;
readonly serviceModelId: string;
- constructor(data) {
- this.jobId = data.jobId;
- this.serviceModelId = data.serviceModelId;
+ constructor(data?) {
+ if(data){
+ this.jobId = data.jobId;
+ this.serviceModelId = data.serviceModelId;
+ }
}
}