We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb6cdf7 + 3c0f673 commit 710308bCopy full SHA for 710308b
apps/desktop/src/lib/branch/BranchHeader.svelte
@@ -241,8 +241,10 @@
241
{#if !$pr}
242
<PullRequestButton
243
click={async ({ draft }) => await createPr({ draft })}
244
- disabled={branch.commits.length === 0 || !$gitHost}
245
- tooltip={!$gitHost ? 'You can enable git host integration in the settings' : ''}
+ disabled={branch.commits.length === 0 || !$gitHost || !$prService}
+ tooltip={!$gitHost || !$prService
246
+ ? 'You can enable git host integration in the settings'
247
+ : ''}
248
loading={isLoading}
249
/>
250
{/if}
0 commit comments