From 9ba0b8ccfa546a2fd76e0fc2ff68a748abe64848 Mon Sep 17 00:00:00 2001 From: ikram Date: Mon, 13 Jul 2020 15:28:31 -0400 Subject: 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 Change-Id: Iadd5cef1012f8ef5c670bbd2c46950680a9e6b0e --- .../objectsToTree/models/vfModule/vfModule.model.info.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree') 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)); } -- cgit 1.2.3-korg