mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Use description from first revisions of Patch
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
@@ -128,7 +128,6 @@ export interface Patch {
|
||||
id: string;
|
||||
author: { id: string; alias?: string };
|
||||
title: string;
|
||||
description: string;
|
||||
state: PatchState;
|
||||
target: string;
|
||||
tags: string[];
|
||||
@@ -141,7 +140,6 @@ export const patchSchema = strictObject({
|
||||
id: string(),
|
||||
author: strictObject({ id: string(), alias: string().optional() }),
|
||||
title: string(),
|
||||
description: string(),
|
||||
state: patchStateSchema,
|
||||
target: string(),
|
||||
tags: array(string()),
|
||||
|
||||
@@ -268,9 +268,9 @@
|
||||
</Badge>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="description">
|
||||
{#if patch.description}
|
||||
{#if patch.revisions[0].description}
|
||||
<Markdown
|
||||
content={patch.description}
|
||||
content={patch.revisions[0].description}
|
||||
rawPath={utils.getRawBasePath(
|
||||
projectId,
|
||||
baseUrl,
|
||||
|
||||
Reference in New Issue
Block a user