Skip to content

Commit f68b618

Browse files
Byronestib-vega
authored andcommitted
refactor
- don't specify what can be implicit - editable = false is needed as otherwise, not setting the value is `truthy` for some reason.
1 parent d4556ae commit f68b618

File tree

5 files changed

+1
-6
lines changed

5 files changed

+1
-6
lines changed

apps/desktop/src/components/BranchesViewBranch.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
});
8787
}}
8888
lastCommit={idx === branch.upstreamCommits.length - 1 && branch.commits.length === 0}
89-
editable={false}
9089
/>
9190
{/each}
9291
{#each branch.commits || [] as commit, idx}
@@ -109,7 +108,6 @@
109108
}}
110109
lastCommit={idx === branch.commits.length - 1}
111110
active
112-
editable={false}
113111
/>
114112
{/each}
115113
</div>

apps/desktop/src/components/CommitRow.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
disabled,
7676
hasConflicts,
7777
active,
78-
editable = true,
78+
editable = false,
7979
onclick,
8080
menu,
8181
...args

apps/desktop/src/components/TargetCommitList.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
commitMessage={commit.message}
106106
createdAt={commit.createdAt}
107107
author={commit.author}
108-
editable={false}
109108
onclick={() => {
110109
branchesState.set({
111110
commitId: commit.id,

apps/desktop/src/components/UnappliedCommitView.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
truncate
3131
commitMessage={commit.message}
3232
className="text-14 text-semibold text-body"
33-
editable={false}
3433
/>
3534
{/snippet}
3635

apps/desktop/src/components/codegen/CodegenPage.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,6 @@
986986
lastCommit={i === commits.length - 1}
987987
{lastBranch}
988988
tooltip={commitStatusLabel(commit.state.type)}
989-
editable={false}
990989
/>
991990
{/each}
992991
{/snippet}

0 commit comments

Comments
 (0)