Blank context menu options issue
[vid.git] / vid-webpack-master / src / app / drawingBoard / service-planning / objectsToTree / objectToInstanceTree / objectToInstanceTree.service.ts
index ca54f5f..785203b 100644 (file)
@@ -36,7 +36,8 @@ export class ObjectToInstanceTreeService {
     this.numberOfFailed = 0;
     this.numberOfElements = 0;
     let _this = this;
-    const serviceModelId:string = serviceInstance.modelInfo.modelVersionId;
+    //const serviceModelId:string = serviceInstance.modelInfo.modelVersionId;
+    const serviceModelId:string = serviceHierarchy.service.uuid;
     const firstLevelOptions: ILevelNodeInfo[] = _this._objectToTreeService.getFirstLevelOptions(serviceInstance.isALaCarte);
     for (let option of firstLevelOptions) {
       _.forOwn(serviceInstance[option.name], function (instance, modelName) {