mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 02:51:57 +03:00
show staged / not staged on the project page
This commit is contained in:
parent
10da421c10
commit
6cb7456f15
@ -284,7 +284,11 @@
|
||||
<ul class="rounded border border-yellow-400 bg-yellow-500 p-4 font-mono text-yellow-900">
|
||||
{#each $statuses as activity}
|
||||
<li class="flex w-full gap-2">
|
||||
<span class="font-semibold">{activity.status.slice(0, 1).toUpperCase()}</span>
|
||||
<span
|
||||
class:text-left={activity.staged}
|
||||
class:text-right={!activity.staged}
|
||||
class="w-[3ch] font-semibold">{activity.status.slice(0, 1).toUpperCase()}</span
|
||||
>
|
||||
<span class="truncate" use:collapsable={{ value: activity.path, separator: '/' }} />
|
||||
</li>
|
||||
{/each}
|
||||
|
Loading…
Reference in New Issue
Block a user