do not show create pr button for pushed branches

This commit is contained in:
Nikita Galaiko 2023-12-11 14:00:51 +01:00 committed by GitButler
parent e5f7a71f7c
commit 9c157ae0af

View File

@ -45,7 +45,7 @@
{#if !readonly && type != 'integrated'}
<div class="actions">
{#if githubContext && !$pr$ && type == 'local'}
{#if githubContext && !$pr$ && type == 'local' && !branch.upstream}
<PushButton
wide
isLoading={isPushing || $prServiceState$?.busy}