mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Remove unnecessary check
This commit is contained in:
		| @@ -825,10 +825,6 @@ export class DocumentDetailComponent | ||||
|         error: (error) => { | ||||
|           this.networkActive = false | ||||
|           const canEdit = | ||||
|             this.permissionsService.currentUserCan( | ||||
|               PermissionAction.Change, | ||||
|               PermissionType.Document | ||||
|             ) && | ||||
|             this.permissionsService.currentUserHasObjectPermissions( | ||||
|               PermissionAction.Change, | ||||
|               this.document | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon