Remove unnecessary check

This commit is contained in:
shamoon 2025-03-21 10:28:20 -07:00 committed by Trenton H
parent 5db511afdf
commit 84638d3ed3

View File

@ -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