Nice, UX for doc in trash

This commit is contained in:
shamoon
2026-01-18 14:14:50 -08:00
parent cd1070bd3f
commit aa4b685a07
4 changed files with 41 additions and 22 deletions

View File

@@ -456,6 +456,11 @@ export class DocumentDetailComponent
const openDocument = this.openDocumentService.getOpenDocument(
this.documentId
)
// update duplicate documents if present
if (openDocument && doc?.duplicate_documents) {
openDocument.duplicate_documents = doc.duplicate_documents
this.openDocumentService.save()
}
const useDoc = openDocument || doc
if (openDocument) {
if (