Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Use `description` from first `revisions` of `Patch`
xphoniex committed 2 years ago
commit 47622735c7f14a5f73db1af5defcb1fdc8c60e60
parent da361fb39963bc16aaa0ca5077b157b4a7f09df8
2 files changed +2 -4
modified httpd-client/lib/project/patch.ts
@@ -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()),
modified src/views/projects/Patch.svelte
@@ -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,