mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 03:33:16 +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
|
<MergeButton
|
||||||
wide
|
wide
|
||||||
projectId={project.id}
|
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}
|
loading={isMerging}
|
||||||
help="Merge pull request and refresh"
|
help="Merge pull request and refresh"
|
||||||
on:click={async (e) => {
|
on:click={async (e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user