diff --git a/apps/issues.json b/apps/issues.json index 123575cb..eefff625 100644 --- a/apps/issues.json +++ b/apps/issues.json @@ -1,4 +1,5 @@ { "type": "tildefriends-app", - "emoji": "🦟" + "emoji": "🦟", + "previous": "&TegdzvFE+im94shygaHkgDYSaSrwY2h0OKUXSRPBQDM=.sha256" } \ No newline at end of file diff --git a/apps/issues/script.js b/apps/issues/script.js index 59707e0c..1c9c2d32 100644 --- a/apps/issues/script.js +++ b/apps/issues/script.js @@ -136,7 +136,7 @@ class TfIssuesAppElement extends LitElement { break; } } - this.issues = Object.values(issues).sort((x, y) => y.created - x.created); + this.issues = Object.values(issues).sort((x, y) => (y.open - x.open) || (y.created - x.created)); if (this.selected) { for (let issue of this.issues) { if (issue.id == this.selected.id) { @@ -149,7 +149,7 @@ class TfIssuesAppElement extends LitElement { render_issue_table_row(issue) { return html`