summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src
diff options
context:
space:
mode:
authorKruthi Bhat <krutbhat@att.com>2020-08-18 00:35:12 +0530
committerKruthi Bhat <krutbhat@att.com>2020-08-18 00:37:44 +0530
commit0864a22ae604219f87dfa9b4833026b85bb2af6e (patch)
tree3cacb89ac245a2eace109d12ef76da353b716c2d /vid-webpack-master/src
parent2e8e7df185b499d633f112fdf1d07ff5eb1dbf82 (diff)
Fix for restricting drag & drop for base module
Issue-ID: VID-861 VF Module to stay at Index 0 (first position) - Not Moveable. Change-Id: Iea354295a460c407cfbc6a3c6bde0b496c24ce6c Signed-off-by: Kruthi Bhat <krutbhat@att.com>
Diffstat (limited to 'vid-webpack-master/src')
-rw-r--r--vid-webpack-master/src/app/drawingBoard/service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/src/app/drawingBoard/service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service.ts b/vid-webpack-master/src/app/drawingBoard/service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service.ts
index 2f86b0aa8..c3af11ebf 100644
--- a/vid-webpack-master/src/app/drawingBoard/service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service.ts
+++ b/vid-webpack-master/src/app/drawingBoard/service-planning/drawing-board-tree/dragAndDrop/dragAndDrop.service.ts
@@ -20,7 +20,7 @@ export class DragAndDropService {
***********************************************************************************************/
isBaseModule(serviceInstanceId, from): boolean {
try {
- let baseModuleFlag = this.store.getState().service.serviceHierarchy[serviceInstanceId].vnfs[from.parent.data.vnfStoreKey].vfModules[from.data.modelName].properties.baseModule;
+ let baseModuleFlag = this.store.getState().service.serviceHierarchy[serviceInstanceId].vnfs[from.parent.data.modelName].vfModules[from.data.modelName].properties.baseModule;
return (baseModuleFlag != 'undefined' ? baseModuleFlag : false);
}catch(e) {
return false;