disable instead of hide doc edit buttons

This commit is contained in:
Michael Shamoon committed 2022-12-08 11:19:52 -08:00
1 parent c1a1f6d74e
commit 7a241950d4
2 files changed
+13 -6

No files matched your search

@@ -585,6 +585,13 @@ export class DocumentDetailComponent
)
}
get userIsOwner(): boolean {
return (
!this.document ||
this.permissionsService.currentUserOwnsObject(this.document)
)
}
get userCanEdit(): boolean {
return (
!this.document ||