mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-02 07:53:55 +03:00
Fix mergeability status of pr
- used to disable merge button - will need to be moved to GitHub implementation of GitHost
This commit is contained in:
parent
ab3fd56b38
commit
8c3f690e01
@ -239,7 +239,11 @@
|
||||
<MergeButton
|
||||
wide
|
||||
projectId={project.id}
|
||||
disabled={$mrLoading || $checksLoading || $pr.draft || !$pr.mergeable}
|
||||
disabled={$mrLoading ||
|
||||
$checksLoading ||
|
||||
$pr.draft ||
|
||||
!$pr.mergeable ||
|
||||
['dirty', 'unknown', 'blocked', 'behind'].includes($pr.mergeableState)}
|
||||
loading={isMerging}
|
||||
help="Merge pull request and refresh"
|
||||
on:click={async (e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user