cat-documents-ng 1.0.49 → 1.0.51

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.
@@ -548,16 +548,16 @@ class SHARED {
548
548
  width: '15%'
549
549
  },
550
550
  {
551
- field: 'ownerName',
552
- header: 'Owner',
551
+ field: 'notes',
552
+ header: 'Notes',
553
553
  type: 'text',
554
- width: '20%'
554
+ width: '15%'
555
555
  },
556
556
  {
557
557
  field: 'uploadedOn',
558
558
  header: 'Uploaded',
559
559
  type: 'text',
560
- width: '15%'
560
+ width: '20%'
561
561
  },
562
562
  {
563
563
  field: 'actions',
@@ -5355,7 +5355,8 @@ class DocumentTableBuilderService {
5355
5355
  contentType: doc.contentType || SHARED.EMPTY,
5356
5356
  isUploaded: hasUrl ? (doc.isUploaded || false) : false,
5357
5357
  documentType: doc.documentType || SHARED.EMPTY,
5358
- aliasName: doc.aliasName || SHARED.EMPTY
5358
+ aliasName: doc.aliasName || SHARED.EMPTY,
5359
+ notes: doc.notes || SHARED.EMPTY
5359
5360
  };
5360
5361
  });
5361
5362
  }
@@ -5843,8 +5844,7 @@ class DocumentViewerService {
5843
5844
  const documentStatus = this.calculateDocumentStatus(document);
5844
5845
  const documentIsUploaded = this.calculateIsDocumentUploaded(document);
5845
5846
  this.documentStore.updateDocumentViewerState(document, undefined, undefined, undefined, documentStatus, documentIsUploaded, alertData);
5846
- if (!skipLoadDocumentHistory && document?._id)
5847
- this.loadDocumentHistory(document._id);
5847
+ // if( !skipLoadDocumentHistory && document?._id ) this.loadDocumentHistory(document._id);
5848
5848
  }
5849
5849
  /**
5850
5850
  * Loads document history data
@@ -5963,9 +5963,9 @@ class DocumentViewerService {
5963
5963
  return;
5964
5964
  }
5965
5965
  const currentState = this.documentQuery.getDocumentViewerState();
5966
- if (currentState.selectedDocument?._id) {
5967
- this.loadDocumentHistory(currentState.selectedDocument._id);
5968
- }
5966
+ // if (currentState.selectedDocument?._id) {
5967
+ // this.loadDocumentHistory(currentState.selectedDocument._id);
5968
+ // }
5969
5969
  // Use the same refresh method as other components for consistency
5970
5970
  this.documentService.refreshAllDataWithCurrentFilters(contextId);
5971
5971
  }