mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[github] Allow owner to reopen pull request
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ internal class GithubPullRequestStatePanel(private val model: GithubPullRequestD
|
||||
mergeButton.isVisible = false
|
||||
}
|
||||
else {
|
||||
reopenButton.isVisible = state.editAllowed && state.state == GithubIssueState.closed && !state.merged
|
||||
reopenButton.isVisible = (state.editAllowed || state.currentUserIsAuthor) && state.state == GithubIssueState.closed && !state.merged
|
||||
reopenAction.isEnabled = reopenButton.isVisible && !state.busy
|
||||
|
||||
closeButton.isVisible = (state.editAllowed || state.currentUserIsAuthor) && state.state == GithubIssueState.open
|
||||
|
||||
Reference in New Issue
Block a user