mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Remove unnecessary check
This commit is contained in:
parent
92524ae97a
commit
7a07f1e81d
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue