Commit 49cc3fc 1 parent 4f045dc commit 49cc3fc Copy full SHA for 49cc3fc
File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 31
31
export let branch: VirtualBranch | undefined = undefined ;
32
32
export let commit: DetailedCommit | Commit ;
33
33
export let commitUrl: string | undefined = undefined ;
34
- export let isPreview: boolean = false ;
35
34
export let isHeadCommit: boolean = false ;
36
35
export let isUnapplied = false ;
37
36
export let first = false ;
232
231
class:integrated ={type === ' integrated' }
233
232
></div >
234
233
235
- {#if ! isPreview }
234
+ {#if ! isUnapplied }
236
235
{#if type === ' local' || type === ' localAndRemote' }
237
236
<div class =" commit__drag-icon" >
238
237
<Icon name =" draggable-narrow" />
372
371
373
372
<div class =" files-container" >
374
373
<BranchFilesList
375
- allowMultiple ={! isPreview }
374
+ allowMultiple ={! isUnapplied }
376
375
{files }
377
376
{isUnapplied }
378
- readonly ={type === ' remote' || isPreview }
377
+ readonly ={type === ' remote' || isUnapplied }
379
378
/>
380
379
</div >
381
380
{/if }
Original file line number Diff line number Diff line change 120
120
{#if remoteCommits }
121
121
{#each remoteCommits as commit , index (commit .id )}
122
122
<CommitCard
123
- isPreview
123
+ isUnapplied
124
124
first ={index === 0 }
125
125
last ={index === remoteCommits .length - 1 }
126
126
{commit }
136
136
{#if localCommits }
137
137
{#each localCommits as commit , index (commit .id )}
138
138
<CommitCard
139
- isPreview
139
+ isUnapplied
140
140
first ={index === 0 }
141
141
last ={index === localCommits .length - 1 }
142
142
{commit }
152
152
{#if localAndRemoteCommits }
153
153
{#each localAndRemoteCommits as commit , index (commit .id )}
154
154
<CommitCard
155
- isPreview
155
+ isUnapplied
156
156
first ={index === 0 }
157
157
last ={index === localAndRemoteCommits .length - 1 }
158
158
{commit }
You can’t perform that action at this time.
0 commit comments