aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
diff options
context:
space:
mode:
authorRachitha Ramappa <rachitha.ramappa@att.com>2020-10-13 19:27:45 +0530
committerRachitha Ramappa <rachitha.ramappa@att.com>2020-10-13 19:32:20 +0530
commitb47aac88acc6c8e69b044d62930eefc4c41fb249 (patch)
treeb235636c9f159e4dd082e010b36612e673835d94 /vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
parent1b93f300bda8e435954d93bc4088429ec28c34c0 (diff)
Pause issue if orchStatus is Active fixed
Change-Id: I345054c1d50e596a7e09a66b9e4161f4e8e22183 Issue-ID: VID-905 Signed-off-by: rachitha.ramappa@att.com
Diffstat (limited to 'vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts')
-rw-r--r--vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts b/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
index 80b2a4b52..72b3c398e 100644
--- a/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
+++ b/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
@@ -396,8 +396,8 @@ export class VFModuleModelInfo implements ILevelNodeInfo {
method: (node, serviceModelId) => {
this._store.dispatch(pauseActionVFModuleInstance(node.data.dynamicModelName, node.parent.data.vnfStoreKey, serviceModelId, node.data.modelName));
},
- visible: () => this._sharedTreeService.shouldShowPauseInstantiation(node),
- enable: () => true,
+ visible: () => (this._sharedTreeService.shouldShowPauseInstantiation(node) && this._sharedTreeService.showPauseWithOrchStatus(node)),
+ enable: () => this._sharedTreeService.showPauseWithOrchStatus(node),
},
removePause: {
method: (node, serviceModelId) => {