@tablation/crew 0.43.2 → 0.43.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5933,7 +5933,7 @@ function filedBy(t, i) {
|
|
|
5933
5933
|
return t.reporter_name ? `${t.reporter_name} (unverified)` : "\u2014";
|
|
5934
5934
|
}
|
|
5935
5935
|
function lastComment(i, ticketId) {
|
|
5936
|
-
const forTicket = i.comments.filter((c) => c.ticket_id === ticketId).sort((a, b) => a.created_at < b.created_at ? -1 : a.created_at > b.created_at ? 1 : 0);
|
|
5936
|
+
const forTicket = i.comments.filter((c) => c.ticket_id === ticketId && (c.kind ?? "comment") !== "event").sort((a, b) => a.created_at < b.created_at ? -1 : a.created_at > b.created_at ? 1 : 0);
|
|
5937
5937
|
const last = forTicket[forTicket.length - 1];
|
|
5938
5938
|
if (!last) return "\u2014";
|
|
5939
5939
|
return `${last.created_at.slice(0, 16)}Z ${author(last, i)}`;
|
package/package.json
CHANGED