Skip to content

Commit

Permalink
Show pull request's close button for author (#3507)
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate authored Jun 16, 2022
1 parent dc9c3ab commit 8c20aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webviews/components/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export function AddComment({
placeholder="Leave a comment"
/>
<div className="form-actions">
{hasWritePermission && !isIssue ? (
{(hasWritePermission || isAuthor) && !isIssue ? (
<button
id="close"
className="secondary"
Expand Down

0 comments on commit 8c20aad

Please sign in to comment.