Skip to content

Commit

Permalink
problem: not adding parent ID to problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Oct 13, 2023
1 parent 373fae5 commit dda3576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/modals/AddProblem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions src/routes/problems/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<Row>
<Tile>
<h3>{problem.Title}</h3>
<h6>{problem.Summary? problem.Summary : "No summary available"}</h6>
<p>{problem.FullText? problem.Fulltext : "Full text is not available"}</p>
{#if problem.Summary}<h6>{problem.Summary}</h6>{/if}
{#if problem.FullText}<p>{problem.FullText}</p>{/if}
<p>ID: {problem.UID}</p>
<p>Last Update: {problem.LastHeadHeight}</p>
<p>Status: {problem.Status}</p>
Expand Down

0 comments on commit dda3576

Please sign in to comment.