mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Doc detail tab switch fixes
This commit is contained in:
		| @@ -100,7 +100,7 @@ | ||||
|                     <a ngbNavLink i18n>Metadata</a> | ||||
|                     <ng-template ngbNavContent> | ||||
|  | ||||
|                         <table class="table table-borderless"> | ||||
|                         <table class="table table-borderless" *ngIf="document"> | ||||
|                             <tbody> | ||||
|                                 <tr> | ||||
|                                     <td i18n>Date modified</td> | ||||
|   | ||||
| @@ -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, | ||||
|         }) | ||||
|       } | ||||
|     }) | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon