cat-documents-ng 1.0.49 → 1.0.50
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.
|
@@ -539,7 +539,7 @@ class SHARED {
|
|
|
539
539
|
field: 'docName',
|
|
540
540
|
header: 'Document',
|
|
541
541
|
type: 'document',
|
|
542
|
-
width: '
|
|
542
|
+
width: '45%'
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
field: 'status',
|
|
@@ -547,17 +547,11 @@ class SHARED {
|
|
|
547
547
|
type: 'status',
|
|
548
548
|
width: '15%'
|
|
549
549
|
},
|
|
550
|
-
{
|
|
551
|
-
field: 'ownerName',
|
|
552
|
-
header: 'Owner',
|
|
553
|
-
type: 'text',
|
|
554
|
-
width: '20%'
|
|
555
|
-
},
|
|
556
550
|
{
|
|
557
551
|
field: 'uploadedOn',
|
|
558
552
|
header: 'Uploaded',
|
|
559
553
|
type: 'text',
|
|
560
|
-
width: '
|
|
554
|
+
width: '25%'
|
|
561
555
|
},
|
|
562
556
|
{
|
|
563
557
|
field: 'actions',
|
|
@@ -5843,8 +5837,7 @@ class DocumentViewerService {
|
|
|
5843
5837
|
const documentStatus = this.calculateDocumentStatus(document);
|
|
5844
5838
|
const documentIsUploaded = this.calculateIsDocumentUploaded(document);
|
|
5845
5839
|
this.documentStore.updateDocumentViewerState(document, undefined, undefined, undefined, documentStatus, documentIsUploaded, alertData);
|
|
5846
|
-
if
|
|
5847
|
-
this.loadDocumentHistory(document._id);
|
|
5840
|
+
// if( !skipLoadDocumentHistory && document?._id ) this.loadDocumentHistory(document._id);
|
|
5848
5841
|
}
|
|
5849
5842
|
/**
|
|
5850
5843
|
* Loads document history data
|
|
@@ -5963,9 +5956,9 @@ class DocumentViewerService {
|
|
|
5963
5956
|
return;
|
|
5964
5957
|
}
|
|
5965
5958
|
const currentState = this.documentQuery.getDocumentViewerState();
|
|
5966
|
-
if (currentState.selectedDocument?._id) {
|
|
5967
|
-
|
|
5968
|
-
}
|
|
5959
|
+
// if (currentState.selectedDocument?._id) {
|
|
5960
|
+
// this.loadDocumentHistory(currentState.selectedDocument._id);
|
|
5961
|
+
// }
|
|
5969
5962
|
// Use the same refresh method as other components for consistency
|
|
5970
5963
|
this.documentService.refreshAllDataWithCurrentFilters(contextId);
|
|
5971
5964
|
}
|