mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Use distinct icons for issue/patch states
This commit is contained in:
@@ -410,7 +410,11 @@
|
||||
style:background-color={issueStatusBackgroundColor[
|
||||
issue.state.status
|
||||
]}>
|
||||
<Icon name="issue" />
|
||||
{#if issue.state.status === "open"}
|
||||
<Icon name="issue" />
|
||||
{:else}
|
||||
<Icon name="issue-closed" />
|
||||
{/if}
|
||||
</div>
|
||||
<TextInput
|
||||
valid={updatedTitle.trim().length > 0}
|
||||
@@ -451,7 +455,11 @@
|
||||
style:background-color={issueStatusBackgroundColor[
|
||||
issue.state.status
|
||||
]}>
|
||||
<Icon name="issue" />
|
||||
{#if issue.state.status === "open"}
|
||||
<Icon name="issue" />
|
||||
{:else}
|
||||
<Icon name="issue-closed" />
|
||||
{/if}
|
||||
</div>
|
||||
<InlineTitle content={issue.title} fontSize="medium" />
|
||||
</div>
|
||||
|
||||
@@ -332,7 +332,10 @@
|
||||
style:background-color={patchStatusBackgroundColor[
|
||||
patch.state.status
|
||||
]}>
|
||||
<Icon name="patch" />
|
||||
<Icon
|
||||
name={patch.state.status === "open"
|
||||
? "patch"
|
||||
: `patch-${patch.state.status}`} />
|
||||
</div>
|
||||
|
||||
<TextInput
|
||||
@@ -374,7 +377,10 @@
|
||||
style:background-color={patchStatusBackgroundColor[
|
||||
patch.state.status
|
||||
]}>
|
||||
<Icon name="patch" />
|
||||
<Icon
|
||||
name={patch.state.status === "open"
|
||||
? "patch"
|
||||
: `patch-${patch.state.status}`} />
|
||||
</div>
|
||||
<InlineTitle content={patch.title} fontSize="medium" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user