diff options
author | Rachitha Ramappa <rachitha.ramappa@att.com> | 2020-08-28 20:19:15 +0530 |
---|---|---|
committer | Rachitha Ramappa <rachitha.ramappa@att.com> | 2020-08-28 20:19:53 +0530 |
commit | bc25167f4ef0aabdcc55d1d286081808e1e47ae9 (patch) | |
tree | 9ade453fbba0c940982269d8632152f7437b9d62 /vid-webpack-master | |
parent | 43b7ae5f11c2ef00ef737d179dda894c51594f45 (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.ts | 2 |
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", |