diff --git a/src/components/modals/AddProblem.svelte b/src/components/modals/AddProblem.svelte index 86b30ae..ac81e65 100644 --- a/src/components/modals/AddProblem.svelte +++ b/src/components/modals/AddProblem.svelte @@ -117,7 +117,7 @@ function headEvent(anchorID, commitID, status, rocket) { e.tags.push(["e", commitID, "", "commit"]) e.tags.push(["s", status]) if (parent.length == 64) { - e.tags.push(["e", parent, "", parent]) + e.tags.push(["e", parent, "", "parent"]) } //todo get exiting problem from state and include existing parents (etc) let rocketTag = ["e", nostrocketIgnitionEvent, "", "rocket"] diff --git a/src/routes/problems/+page.svelte b/src/routes/problems/+page.svelte index 92ce8fc..0387d5a 100644 --- a/src/routes/problems/+page.svelte +++ b/src/routes/problems/+page.svelte @@ -15,8 +15,8 @@

{problem.Title}

-
{problem.Summary? problem.Summary : "No summary available"}
-

{problem.FullText? problem.Fulltext : "Full text is not available"}

+ {#if problem.Summary}
{problem.Summary}
{/if} + {#if problem.FullText}

{problem.FullText}

{/if}

ID: {problem.UID}

Last Update: {problem.LastHeadHeight}

Status: {problem.Status}