diff --git a/apps/issues/script.js b/apps/issues/script.js index 962c4c1a2..59707e0c5 100644 --- a/apps/issues/script.js +++ b/apps/issues/script.js @@ -154,7 +154,7 @@ class TfIssuesAppElement extends LitElement { this.selected = issue}> ${issue.text.split('\n')?.[0]} - ${new Date(issue.created).toLocaleDateString()} + ${new Date(issue.updated ?? issue.created).toLocaleDateString()} `; } @@ -206,6 +206,8 @@ class TfIssuesAppElement extends LitElement { await tfrpc.rpc.appendMessage(whoami, { type: 'post', text: event.detail.value, + root: this.selected.id, + branch: this.selected.updates.length ? this.selected.updates[this.selected.updates.length - 1].id : this.selected.id, issues: [ { link: this.selected.id,