aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app
diff options
context:
space:
mode:
authorRachitha Ramappa <rachitha.ramappa@att.com>2020-10-27 13:57:29 +0530
committerRachitha Ramappa <rachitha.ramappa@att.com>2020-10-27 13:58:01 +0530
commit08a553f12102f39dd2b643d63d59c07850de03aa (patch)
treec1fe1a589bda6ccb161ac7f932e409563943b84e /vid-webpack-master/src/app
parent12226e5a7874dcc1d5b4cdb305188391b4b97cc5 (diff)
Export audit table issue fix
Change-Id: I7aef3789e36652e4fb92264bbc59c5167b7cfa57 Issue-ID: VID-905 Signed-off-by: rachitha.ramappa@att.com
Diffstat (limited to 'vid-webpack-master/src/app')
-rw-r--r--vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html3
-rw-r--r--vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts5
2 files changed, 6 insertions, 2 deletions
diff --git a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html
index 1fc1f4d82..874f13a01 100644
--- a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html
+++ b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html
@@ -71,7 +71,8 @@
<custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat" [attr.data-tests-id]="'jobStatus'"></custom-ellipsis>
</td>
<td class="col-md-2" id="msoAdditionalInfo" style="width: 33%">
- <custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo" [attr.data-tests-id]="'additionalInfo'"></custom-ellipsis>
+ <span [innerHtml]="data?.additionalInfo"></span>
+ <!--<custom-ellipsis [id]="data?.additionalInfo" [value]="data?.additionalInfo" [attr.data-tests-id]="'additionalInfo'"></custom-ellipsis> -->
</td>
</tr>
</tbody>
diff --git a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts
index bd2d77d99..6afc8d92e 100644
--- a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts
+++ b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts
@@ -162,7 +162,10 @@ export class AuditInfoModalComponent {
+currentTime.getHours()+":"+currentTime.getMinutes()+":"+currentTime.getSeconds()
let fileName = this.spacetoUnderscore.transform(this.serviceInstanceName)+'_'+timestamp;
let msoStatusTableElement = document.getElementById('service-instantiation-audit-info-mso');
- const ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(msoStatusTableElement);
+ const ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(msoStatusTableElement, {
+ cellDates: true,
+ raw: true
+ });
const wb: XLSX.WorkBook = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(wb, ws, 'Sheet1');
/* save to file */