Frontmatter
| id | 9595 |
| title | Fix TypeError in Portal Ticket Component when Markdown frontmatter labels is a string |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Mar 29, 2026, 8:53 PM |
| updatedAt | Mar 29, 2026, 9:33 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9595 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 29, 2026, 9:33 PM |
Fix TypeError in Portal Ticket Component when Markdown frontmatter labels is a string
Closedbugai

When fetching ticket
.mdfiles that have unquoted single labels in their frontmatter (likelabels: buginstead oflabels: [bug]), theneo.mjsPortal<Ticket>component'smodifyMarkdownmethod throws aTypeError: labels.forEach is not a function.This blocks SSG processes trying to generate all tickets statically. The extracted
labelsshould be type-checked and cast to an array if necessary.