cat-documents-ng 0.3.88 → 0.3.89
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.
|
@@ -6268,12 +6268,6 @@ class DocumentHistoryComponent {
|
|
|
6268
6268
|
if (this.selectedDocument && this.contextId) {
|
|
6269
6269
|
const documentName = this.selectedDocument?.docName || 'this document';
|
|
6270
6270
|
ConfirmationDialogComponent.confirmDelete(this.confirmationService, documentName, () => {
|
|
6271
|
-
// Ensure the viewer service has the latest selected document (with _id from history)
|
|
6272
|
-
// eslint-disable-next-line no-console
|
|
6273
|
-
try {
|
|
6274
|
-
this.documentViewerService.updateSelectedDocument?.(this.selectedDocument);
|
|
6275
|
-
}
|
|
6276
|
-
catch { }
|
|
6277
6271
|
const deleteAction = this.documentActionsService.createDeleteAction();
|
|
6278
6272
|
this.documentViewerService.handleDocumentAction(deleteAction, this.contextId);
|
|
6279
6273
|
this.deleteTaskRequested.emit();
|