summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master
diff options
context:
space:
mode:
authorRachitha Ramappa <rachitha.ramappa@att.com>2020-08-28 20:19:15 +0530
committerRachitha Ramappa <rachitha.ramappa@att.com>2020-08-28 20:19:53 +0530
commitbc25167f4ef0aabdcc55d1d286081808e1e47ae9 (patch)
tree9ade453fbba0c940982269d8632152f7437b9d62 /vid-webpack-master
parent43b7ae5f11c2ef00ef737d179dda894c51594f45 (diff)
resume button to be displayed on when isRetryEnabled is true
Issue-ID: VID-875 Change-Id: I231009f8081c90d3c6b3fdf104a5333e743160f6 Signed-off-by: rachitha.ramappa@att.com
Diffstat (limited to 'vid-webpack-master')
-rw-r--r--vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.ts2
1 files changed, 1 insertions, 1 deletions
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",