mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 10:40:30 +08:00
Show "no description" in revision selector when missing
This commit is contained in:
@@ -113,7 +113,15 @@
|
||||
</span>
|
||||
<RevisionBadges {revision} {revisions} />
|
||||
<span class="txt-overflow">
|
||||
{revision.description[0].body}
|
||||
{#if revision.description[0].body.trim()}
|
||||
{revision.description[0].body}
|
||||
{:else}
|
||||
<span
|
||||
class="txt-missing"
|
||||
style:font-weight="var(--font-weight-regular)">
|
||||
No description.
|
||||
</span>
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
</DropdownListItem>
|
||||
|
||||
Reference in New Issue
Block a user