mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
Fix for merge button being incorrectly disabled
- disable only if checks exist and they have not succeeded
This commit is contained in:
parent
9892e4f9c8
commit
9aa2115c12
@ -208,11 +208,7 @@
|
||||
<MergeButton
|
||||
{projectId}
|
||||
wide
|
||||
disabled={isFetching ||
|
||||
isUnapplied ||
|
||||
!$pr$ ||
|
||||
checksStatus === null ||
|
||||
!checksStatus?.success}
|
||||
disabled={isFetching || isUnapplied || !$pr$ || (!!checksStatus && !checksStatus.success)}
|
||||
loading={isMerging}
|
||||
help="Merge pull request and refresh"
|
||||
on:click={async (e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user