Skip to content

Commit

Permalink
Update comment-edit-form.component.html (#12667)
Browse files Browse the repository at this point in the history
In the comment edit form, change the button that conditionally displays "Discard" or "Cancel " to only display "Cancel"
  • Loading branch information
abdqudus authored Dec 19, 2023
1 parent 77631b1 commit c1b3d62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@

<button type="button" class="btn btn-light btn-sm float-end"
(click)="triggerCloseCommentBoxEvent()" *ngIf="!shouldHideClosingButton" [disabled]="isDisabled"><i class="fas fa-times"></i>
{{ mode === CommentRowMode.EDIT ? 'Discard' : 'Cancel' }}</button>
Cancel</button>

0 comments on commit c1b3d62

Please sign in to comment.