mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-03-29 13:25:10 -05:00
Remove unnecessary check
This commit is contained in:
parent
92524ae97a
commit
7a07f1e81d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user