diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html
index 71092fe72..7b21d4b50 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@ -100,7 +100,7 @@
Metadata
-
+
Date modified |
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts
index 6d03ec024..9b23aa047 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.ts
+++ b/src-ui/src/app/components/document-detail/document-detail.component.ts
@@ -317,6 +317,10 @@ export class DocumentDetailComponent
if (navIDKey) {
this.activeNavID = DocumentDetailNavIDs[navIDKey]
}
+ } else if (paramMap.get('id')) {
+ this.router.navigate(['documents', +paramMap.get('id'), 'details'], {
+ replaceUrl: true,
+ })
}
})
}