Skip to content

Commit

Permalink
Merge pull request #39 from nostrocket/issue-33-log-sub-problems
Browse files Browse the repository at this point in the history
problem: can't log sub-problems
  • Loading branch information
gsovereignty authored Oct 11, 2024
2 parents d11881f + fe39196 commit e1a9107
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/LogNewProblem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
if (page) {
e.tags.push(['page', page]);
}
if (parent) {
e.tags.push(['a', `31971:${parent.creator}:${parent.dtag}`, 'parent']);
e.tags.push(['status', parent.child_status]);
} else {
e.tags.push(['status', 'rfm']);
}
e.tags.push(['child_status', child_status]);
e.publish()
.then(async (x) => {
Expand Down

0 comments on commit e1a9107

Please sign in to comment.