From bc25167f4ef0aabdcc55d1d286081808e1e47ae9 Mon Sep 17 00:00:00 2001 From: Rachitha Ramappa Date: Fri, 28 Aug 2020 20:19:15 +0530 Subject: resume button to be displayed on when isRetryEnabled is true Issue-ID: VID-875 Change-Id: I231009f8081c90d3c6b3fdf104a5333e743160f6 Signed-off-by: rachitha.ramappa@att.com --- .../src/app/instantiationStatus/instantiationStatus.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vid-webpack-master/src') diff --git a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.ts b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.ts index b5f54bcca..5e0c2a8cd 100644 --- a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.ts +++ b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.ts @@ -56,7 +56,7 @@ export class InstantiationStatusComponent implements OnInit { className: "fa-repeat", click: (item: ServiceInfoModel) => this.resumeItem(item), enabled: () => true, - visible: (item: ServiceInfoModel) => item.jobStatus === JobStatus.COMPLETED_AND_PAUSED, + visible: (item: ServiceInfoModel) => (item.isRetryEnabled && (item.jobStatus === JobStatus.COMPLETED_AND_PAUSED)), }, { name: "Open", -- cgit 1.2.3-korg