diff --git a/src/scenes/Approvals.tsx b/src/scenes/Approvals.tsx index 38ae71c..3c2dd2f 100644 --- a/src/scenes/Approvals.tsx +++ b/src/scenes/Approvals.tsx @@ -26,7 +26,9 @@ function ageLabel(item: WorkItem): string { function isMachineId(s?: string | null): boolean { if (!s) return true; - return /^[a-f0-9]{20,}$/i.test(s) || /^process_\d{10,}$/.test(s); + if (/[a-f0-9]{20,}/i.test(s)) return true; + if (/^process_\d{10,}/.test(s)) return true; + return false; } function friendlyCaseTitle(item: WorkItem): string {