Skip to content

Commit

Permalink
fix(cb2-11294): hide adr download button in edit mode (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown authored Mar 20, 2024
1 parent 41be7d1 commit c098b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/forms/custom-sections/adr/adr.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class AdrComponent implements OnInit, OnDestroy {
}

hasAdrDocumentation(): boolean {
return !!this.techRecord.techRecord_adrDetails_documentId;
return !!this.techRecord.techRecord_adrDetails_documentId && !this.isEditing;
}

handleSubmit() {
Expand Down

0 comments on commit c098b99

Please sign in to comment.