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
|
<MergeButton
|
||||||
{projectId}
|
{projectId}
|
||||||
wide
|
wide
|
||||||
disabled={isFetching ||
|
disabled={isFetching || isUnapplied || !$pr$ || (!!checksStatus && !checksStatus.success)}
|
||||||
isUnapplied ||
|
|
||||||
!$pr$ ||
|
|
||||||
checksStatus === null ||
|
|
||||||
!checksStatus?.success}
|
|
||||||
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