aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
diff options
context:
space:
mode:
authorikram <ikram@research.att.com>2020-07-13 15:28:31 -0400
committerikram <ikram@research.att.com>2020-07-13 15:28:31 -0400
commit9ba0b8ccfa546a2fd76e0fc2ff68a748abe64848 (patch)
treeacca2b9fe43cd198ebc3c60ea15df2cfa1aa0031 /vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/models/vfModule/vfModule.model.info.ts
parenta205bcdfd37ce8afcabd093a461b14a40a065ba4 (diff)
Visualization of the VF Module Sequencing
Issue-ID: VID-860 In this user story, we plan to allow the user to visually see the sequence numbers when a VF module is added from the left panel of the drawing board onto the right one. Note: The idea that the sequence change when a VF Module is dragged up and down is not part of the scope of this story - we will deliver that separately. This is only about the default sequencing that the drawing board renders when a new VF module is created into the 'instance' part of the drawing board from the 'model' part of the drawing board. Signed-off-by: ikram <ikram@research.att.com> Change-Id: Iadd5cef1012f8ef5c670bbd2c46950680a9e6b0e
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 607519ab3..f7bf35abd 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
@@ -99,7 +99,7 @@ export class VFModuleModelInfo implements ILevelNodeInfo {
newVfModule.isFailed = _.isNil(instance.isFailed) ? false : instance.isFailed;
newVfModule.statusMessage = !_.isNil(instance.statusMessage) ? instance.statusMessage : "";
newVfModule.pauseInstantiation = instance.pauseInstantiation;
-
+ newVfModule.position = instance.position;
newVfModule = this._sharedTreeService.addingStatusProperty(newVfModule);
return newVfModule;
}
@@ -424,7 +424,7 @@ export class VFModuleModelInfo implements ILevelNodeInfo {
}
updatePosition(that, node, instanceId, parentStoreKey): void {
- that.store.dispatch(updateVFModulePosition(node, instanceId, parentStoreKey));
+ this._store.dispatch(updateVFModulePosition(node, instanceId, parentStoreKey));
}