Skip to content

Commit

Permalink
Merge branch 'develop' into feature/4706_allow_notes_in_namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kairi003 authored Nov 16, 2024
2 parents c4e0826 + 8328f74 commit 21ce35c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-rocks-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'mermaid': patch
---

fix: Kanban diagrams will not render when adding a number as ticket id or assigned for a task
6 changes: 3 additions & 3 deletions packages/mermaid/src/diagrams/kanban/kanbanDb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ const addNode = (level: number, id: string, descr: string, type: number, shapeDa
node.label = doc?.label;
}
if (doc?.icon) {
node.icon = doc?.icon;
node.icon = doc?.icon.toString();
}
if (doc?.assigned) {
node.assigned = doc?.assigned;
node.assigned = doc?.assigned.toString();
}
if (doc?.ticket) {
node.ticket = doc?.ticket;
node.ticket = doc?.ticket.toString();
}

if (doc?.priority) {
Expand Down

0 comments on commit 21ce35c

Please sign in to comment.