Merge pull request #3661 from gitbutlerapp/base-branch-commit-card-fix

Base branch commit cards should not be editable
This commit is contained in:
Scott Chacon 2024-05-02 11:36:37 +02:00 committed by GitHub
commit ac4188819a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@
</Button>
<div class="commits-list">
{#each base.upstreamCommits as commit}
<CommitCard {commit} commitUrl={base.commitUrl(commit.id)} />
<CommitCard {commit} isUnapplied={true} commitUrl={base.commitUrl(commit.id)} />
{/each}
</div>
<Spacer margin={2} />
@ -62,7 +62,7 @@
Local
</h1>
{#each base.recentCommits as commit}
<CommitCard {commit} commitUrl={base.commitUrl(commit.id)} />
<CommitCard {commit} isUnapplied={true} commitUrl={base.commitUrl(commit.id)} />
{/each}
</div>
</div>