cat-documents-ng 0.3.74 → 0.3.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -481,8 +481,8 @@ class SHARED {
481
481
  // File extension constants
482
482
  static JPG = 'JPG';
483
483
  static PNG = 'PNG';
484
- static XLSX = 'XLSX';
485
- static XLS = 'XLS';
484
+ static XLSX = 'xlsx';
485
+ static XLS = 'xls';
486
486
  // Status constants
487
487
  static APPROVED_STATUS = 'approved';
488
488
  static ALERT_STATUS = 'alert';
@@ -8185,9 +8185,9 @@ class DocumentViewerComponent {
8185
8185
  fileName: document.docName,
8186
8186
  documentUrl: document.documentUrl,
8187
8187
  contentType: document.contentType,
8188
- status: document.status,
8188
+ status: this.selectedDocument?.status || '',
8189
8189
  documentTypeName: document.documentTypeName,
8190
- isUploaded: true,
8190
+ isUploaded: this.selectedDocument?.isUploaded || false,
8191
8191
  isAliasEditable: document.isAliasEditable,
8192
8192
  parentDocumentId: document.parentDocumentId,
8193
8193
  aliasName: document.aliasName,