Let task links open a tab, and link the lead to inboxes for review

This commit is contained in:
Ian Gulliver
2026-10-15 18:55:38 -07:00
parent 5a07658523
commit 805f6091bf
8 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ function link(href, children) {
if (/^https?:\/\//i.test(href)) {
return h("a", { href, target: "_blank", rel: "noopener noreferrer" }, ...children);
}
const task = /^#\/task\/(\w+)$/.exec(href);
const task = /^#\/task\/(\w+)(\/\w+)?$/.exec(href);
if (task) {
return h("a", { href, class: "task-link", style: taskStyle(task[1]) }, ...children);
}